Job
No job planned.
Difficulty
Cancel
Spec (updated on Thu Dec 4 15:48:13 2025)
describe("cataloging/lockedauthority", 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("lockedauthority", function () {
cy.visit("/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=");
cy.waitForPageLoad();
cy.get("#tab1XX-tab").click();
cy.get("li.tag.clearfix[id^=tag_100_]").should('be.visible').screenshot("lockedauthority");
});
});
});
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
cataloguing/addbiblio.pl?frameworkcode=
Interface
staff
Element selector
li.tag.clearfix[id^=tag_100_]
Missing selector
setup
workflow
click #tab1XX-tab
teardown
Notes
Translation is not realy effective as framework label are not translatable
Cancel
Additional KTD data
Cancel