Job
Difficulty
Cancel
Spec (updated on Fri Apr 17 14:19:48 2026)
describe("admin/globalprefs/DisplayIconsXSLT", 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("DisplayIconsXSLT", function () {
cy.visit("/cgi-bin/koha/catalogue/search.pl?advsearch=1&idx=kw&q=test&idx=kw&q=&idx=kw&q=&sort_by=relevance");
cy.waitForPageLoad();
cy.get("#row114 td:nth-child(2) span.results_summary:nth-child(3)").should('be.visible').screenshot("DisplayIconsXSLT");
});
});
});
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
catalogue/search.pl?advsearch=1&idx=kw&q=test&idx=kw&q=&idx=kw&q=&sort_by=relevance
Interface
staff
Element selector
#row114 td:nth-child(2) span.results_summary:nth-child(3)
Missing selector
Y
setup
workflow
teardown
Notes
Cancel
Additional KTD data
Cancel