Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en ar cs de el es fr fr_CA hi it pt pt_BR sk sv tr zh_Hant

Image details

searchresultsingle (#1363) ❌ Not validated

Job

No job planned.

Difficulty

Hard

Spec (updated on Thu May 22 13:08:51 2025)

describe("searching/searchresultsingle", function () {
    const languages = ['en', 'es-ES', 'fr-FR'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // If previous test failed, skip this one
                if (Cypress.env("TEST_FAILED")) {
                    this.skip();
                }
                cy.login();
                cy.set_cookie_lang(lang);
            });

            it("searchresultsingle", function () {
                cy.visit("/cgi-bin/koha/acqui/histsearch.pl?q=shakespeare");
                cy.get("row161").should('be.visible').screenshot("searchresultsingle");
            });
        });
    });
    afterEach(function () {
        
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

search.pl?q=shakespeare

Interface

staff

Element selector

row161

Missing selector

Y

setup


        

workflow


        

teardown


    

Notes

Not sure if the row number stays the same all the time, they don't seem in order. Also the original image has the thead plus a row.

Additional KTD data

Test failure

AssertionError: Timed out retrying after 10000ms: Expected to find element: `row161`, but never found it.
    at Context.eval (webpack://koha/./cypress/integration/searching/searchresultsingle.ts:16:33)

Old