Job
Difficulty
Cancel
Spec (updated on Wed Mar 25 10:59:09 2026)
describe("admin/cataloging/exportoptions", function () {
const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'hi', 'zh-Hant-TW'];
languages.forEach((lang) => {
describe(`in ${lang}`, () => {
beforeEach(function(){
// Skip if 'en' test failed
if (Cypress.env("EN_TEST_FAILED")) {
this.skip();
}
cy.login();
/* No specific padding defined */
cy.set_cookie_lang(lang);
});
it("exportoptions", function () {
cy.visit("/cgi-bin/koha/admin/biblio_framework.pl");
cy.waitForPageLoad();
cy.get("#frameworkactions").click();
cy.get("div:has(> #frameworkactions) > ul > li:nth-child(2)").click();
cy.get("#exportModal_default > div > div").should('be.visible').screenshot("exportoptions");
});
});
});
afterEach(function () {
Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
// Set EN_TEST_FAILED if the 'en' test failed
if (this.currentTest.parent.title.includes('in en') && this.currentTest.state === 'failed') {
Cypress.env("EN_TEST_FAILED", true);
}
});
});
Spec data
Page
admin/biblio_framework.pl
Interface
staff
Element selector
#exportModal_default > div > div
Missing selector
Y
setup
workflow
click #frameworkactions
click div:has(> #frameworkactions) > ul > li:nth-child(2)
teardown
Notes
Cancel
Additional KTD data
Cancel