Job
No job planned.
Difficulty
Medium
Cancel
Spec (updated on Wed Aug 6 09:34:42 2025)
describe("acquisitions/accounting", 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("accounting", function () {
cy.visit("/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=1&basketno=1");
cy.waitForPageLoad();
cy.get("fieldset.rows:nth-child(6)").should('be.visible').screenshot("accounting");
});
});
});
afterEach(function () {
Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
if (this.currentTest.state === 'failed') {
Cypress.env("TEST_FAILED", true);
}
});
});
Spec data
Page
acqui/neworderempty.pl?booksellerid=1&basketno=1
Interface
staff
Element selector
fieldset.rows:nth-child(6)
Missing selector
Y
setup
workflow
teardown
Notes
Wrong selector.
Cancel
Additional KTD data
Cancel