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

report_subgroup (#270)

Job

No job planned.

Difficulty

Spec (updated on Tue Jun 3 14:56:12 2025)

describe("admin/basicparams/report_subgroup", function () {
    const languages = ['en', 'es-ES', 'fr-FR'];
    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 authorised_values (category, authorised_value, lib, lib_opac) VALUES (\"REPORT_SUBGROUP\", \"ADD\", \"Added\", \"CAT\"),  (\"REPORT_SUBGROUP\", \"DEL\", \"Deleted\", \"CAT\"), (\"REPORT_SUBGROUP\", \"HOLDS\", \"Holds\", \"CIRC\"), (\"REPORT_SUBGROUP\", \"NEW\", \"new patrons\", \"CAT\"),  (\"REPORT_SUBGROUP\", \"TRANS\", \"Transfers\", \"CIRC\");")
                cy.login();
                cy.set_cookie_lang(lang);
            });

            it("report_subgroup", function () {
                cy.visit("/cgi-bin/koha/admin/authorised_values.pl?searchfield=REPORT_SUBGROUP");
                cy.get("main").should('be.visible').screenshot("report_subgroup");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM authorised_values WHERE category=\"REPORT_SUBGROUP\"")
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

authorised_values.pl?searchfield=REPORT_SUBGROUP

Interface

staff

Element selector

main

Missing selector

Y

setup

sql INSERT INTO authorised_values (category, authorised_value, lib, lib_opac) VALUES ("REPORT_SUBGROUP", "ADD", "Added", "CAT"),  ("REPORT_SUBGROUP", "DEL", "Deleted", "CAT"), ("REPORT_SUBGROUP", "HOLDS", "Holds", "CIRC"), ("REPORT_SUBGROUP", "NEW", "new patrons", "CAT"),  ("REPORT_SUBGROUP", "TRANS", "Transfers", "CIRC");

workflow


        

teardown

sql DELETE FROM authorised_values WHERE category="REPORT_SUBGROUP"

Notes

Go to Admin- Authorized Values- Report Sub Group

Additional KTD data

Old

New (updated on Wed Jun 4 22:59:10 2025)

New (es)

New (fr)