Job
No job planned.
Difficulty
Hard
Cancel
Spec (updated on Wed Jul 30 16:47:57 2025)
describe("cataloging/catalogsearch", function () {
const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'zh-Hant-TW'];
languages.forEach((lang) => {
describe(`in ${lang}`, () => {
beforeEach(function(){
// If previous test failed, skip this one
if (Cypress.env("TEST_FAILED")) {
this.skip();
}
cy.login();
/* No specific padding defined */
cy.set_cookie_lang(lang);
});
it("catalogsearch", function () {
cy.visit("/cgi-bin/koha/cataloguing/addbooks.pl?q=shakespeare+sonnet");
cy.waitForPageLoad();
cy.get("button#cataloguesearchactions285").click();
cy.get("main").should('be.visible').screenshot("catalogsearch");
});
});
});
afterEach(function () {
Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
if (this.currentTest.state === 'failed') {
Cypress.env("TEST_FAILED", true);
}
});
});
Spec data
Page
addbooks.pl?q=shakespeare+sonnet
Interface
staff
Element selector
main
Missing selector
Y
setup
workflow
click button#cataloguesearchactions285
teardown
Notes
Needs to show the whole table, but only with one actions menu open.
Cancel
Additional KTD data
Cancel