Job
No job planned.
Difficulty
Easy
Cancel
Spec (updated on Wed Aug 6 09:31:37 2025)
describe("reports/acqtotal", 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("acqtotal", function () {
cy.visit("/cgi-bin/koha/reports/acquisitions_stats.pl");
cy.waitForPageLoad();
cy.get("fieldset.rows:nth-child(2)").should('be.visible').screenshot("acqtotal");
});
});
});
afterEach(function () {
Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
if (this.currentTest.state === 'failed') {
Cypress.env("TEST_FAILED", true);
}
});
});
Spec data
Page
reports/acquisitions_stats.pl
Interface
staff
Element selector
fieldset.rows:nth-child(2)
Missing selector
Y
setup
workflow
teardown
Notes
Cancel
Additional KTD data
Cancel