Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en ar cs de el es fr fr_CA hi it pt pt_BR sk sv tr zh_Hant

Image details

dictlist (#103)

Job

No job planned.

Difficulty

Hard

Spec (updated on Wed Jul 23 15:04:16 2025)

describe("reports/dictlist", function () {
    const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'zh-Hant-TW'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // If previous test failed, skip this one
                if (Cypress.env("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);
        if (this.currentTest.state === 'failed') {
            Cypress.env("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


Old Thumbnail old
New Thumbnail new
New (de)
New (el)
New (es)
New (fr)
New (zh_Hant)

Old

New (updated on Wed Jul 23 17:29:49 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Wed Jun 4 22:30:01 2025

Wed Jun 4 12:00:03 2025

Wed Jun 4 11:30:03 2025

Tue May 20 23:45:01 2025

Old screenshot