Job
No job planned.
Difficulty
Easy
Cancel
Spec (updated on Wed Jul 23 15:04:14 2025)
describe("reports/catalogresults", 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.login();
/* No specific padding defined */
cy.set_cookie_lang(lang);
});
it("catalogresults", function () {
cy.visit("/cgi-bin/koha/reports/catalogue_stats.pl?Filter=&Filter=&cotedigits=&Column=items.itype&Filter=&Filter=&Filter=&Filter=&Line=items.homebranch&Filter=&Filter=&Filter=&Filter=&Filter=&Filter=1&Filter=&Filter=&Filter=&Cellvalue=items&output=screen&basename=Export&MIME=CSV&sep=%2C&report_name=&do_it=1");
cy.waitForPageLoad();
cy.get("main").should('be.visible').screenshot("catalogresults");
});
});
});
afterEach(function () {
Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
if (this.currentTest.state === 'failed') {
Cypress.env("TEST_FAILED", true);
}
});
});
Spec data
Page
catalogue_stats.pl?Filter=&Filter=&cotedigits=&Column=items.itype&Filter=&Filter=&Filter=&Filter=&Line=items.homebranch&Filter=&Filter=&Filter=&Filter=&Filter=&Filter=1&Filter=&Filter=&Filter=&Cellvalue=items&output=screen&basename=Export&MIME=CSV&sep=%2C&report_name=&do_it=1
Interface
staff
Element selector
main
Missing selector
N
setup
workflow
teardown
Notes
New screenshot is catalog statistics form and not results
Cancel
Additional KTD data
Cancel