Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en de el es fr hi zh_Hant

Image details

dictlist (#103) ✅ Validated

Job

No job planned.

Difficulty

Hard

Spec (updated on Thu Dec 4 15:47:47 2025)

describe("reports/dictlist", function () {
    const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'hi', 'zh-Hant-TW'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // Skip if 'en' test failed
                if (Cypress.env("EN_TEST_FAILED")) {
                    this.skip();
                }
                cy.query("INSERT INTO reports_dictionary (name, description, report_area, saved_SQL) VALUES (\"zip\", \"\", \"PAT\", \"AND borrowers.zipcode='44236'\"), (\"last name\", \"\", \"PAT\", \"AND borrowers.surname='en%'\"), (\"testing2\", \"\", \"CIRC\", \"AND borrowers.dateofbirth >= '2011-07-17' AND borrowers.dateofbirth <= '2011-07-27'\"), (\"Call Number\", \"my call number rule\", \"CAT\", \"AND items.itemcallnumber='PS3566.I372 N56 2007'\"), (\"Info Today Publications\", \"\", \"CAT\", \"AND biblioitems.publishercode='Information Today'\")")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("dictlist", function () {
                cy.visit("/cgi-bin/koha/reports/dictionary.pl?phase=View Dictionary");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("dictlist");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM reports_dictionary WHERE name IN (\"zip\", \"last name\", \"testing2\", \"Call Number\", \"Info Today Publications\")")
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        // Set EN_TEST_FAILED if the 'en' test failed
        if (this.currentTest.parent.title.includes('in en') && this.currentTest.state === 'failed') {
            Cypress.env("EN_TEST_FAILED", true);
        }
    });
});

Spec data

Page

dictionary.pl?phase=View Dictionary

Interface

staff

Element selector

main

Missing selector

N

setup

sql INSERT INTO reports_dictionary (name, description, report_area, saved_SQL) VALUES ("zip", "", "PAT", "AND borrowers.zipcode='44236'"), ("last name", "", "PAT", "AND borrowers.surname='en%'"), ("testing2", "", "CIRC", "AND borrowers.dateofbirth >= '2011-07-17' AND borrowers.dateofbirth <= '2011-07-27'"), ("Call Number", "my call number rule", "CAT", "AND items.itemcallnumber='PS3566.I372 N56 2007'"), ("Info Today Publications", "", "CAT", "AND biblioitems.publishercode='Information Today'")

workflow


        

teardown

sql DELETE FROM reports_dictionary WHERE name IN ("zip", "last name", "testing2", "Call Number", "Info Today Publications")

Notes

no samples in the sandbox

Additional KTD data

Thumbnails


Current Thumbnail old
New Thumbnail new
New (de)
New (el)
New (es)
New (fr)
New (hi)
New (zh_Hant)

Current

New (updated on Thu Dec 4 18:46:29 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

2025-12-01 12:15:14 +0000

2025-06-04 22:30:01 +0000

2025-06-04 12:00:03 +0000

2025-06-04 11:30:03 +0000

2025-05-20 23:45:01 +0000

2025-12-04 19:00:02 +0000

2025-12-01 12:15:14 +0000

Old screenshot