Job
Difficulty
Cancel
Spec (updated on Mon Jun 1 07:33:08 2026)
describe("admin/globalprefs/DisplayOPACiconsXSLT", 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.loginOpac();
/* No specific padding defined */
cy.set_cookie_lang(lang);
});
it("DisplayOPACiconsXSLT", function () {
cy.visitOpac("/cgi-bin/koha/opac-search.pl?idx=&q=right&weight_search=1");
cy.waitForPageLoad();
cy.get("table tr:nth-child(2) div.results_summary.type").should('be.visible').screenshot("DisplayOPACiconsXSLT");
});
});
});
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
opac-search.pl?idx=&q=right&weight_search=1
Interface
opac
Log in
Yes
Element selector
table tr:nth-child(2) div.results_summary.type
Missing selector
setup
workflow
teardown
Notes
Cancel
Additional KTD data
Cancel