Job
No job planned.
Difficulty
Cancel
Spec (updated on Thu Dec 18 19:23:42 2025)
describe("cataloging/authorityresults", 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("authorityresults", function () {
cy.visit("/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=mainmainentry&and_or=and&excluding=&value=poetry&authtypecode=&operator=contains&orderby=HeadingAsc");
cy.waitForPageLoad();
cy.get("main").should('be.visible').screenshot("authorityresults");
});
});
});
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
/authorities-home.pl?op=do_search&type=intranet&marclist=mainmainentry&and_or=and&excluding=&value=poetry&authtypecode=&operator=contains&orderby=HeadingAsc
Interface
staff
Element selector
main
Missing selector
setup
workflow
teardown
Notes
Cancel
Additional KTD data
Cancel