Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en de el es fr hi zh_Hant

Image details

itemlocations (#841) ❌ Not validated

Job

No job planned.

Difficulty

Impossible with Cypress Studio

Spec (updated on Thu Dec 4 15:48:18 2025)

describe("circ/itemlocations", 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.query("UPDATE items SET holdingbranch=\"FPL\" WHERE itemnumber=278")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("itemlocations", function () {
                cy.visit("/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=278&biblionumber=131&bi=131#item278#item278");
                cy.waitForPageLoad();
                cy.get("#container278").should('be.visible').screenshot("itemlocations");
            });
        });
    });
    afterEach(function () {
        cy.query("UPDATE items SET holdingbranch=\"CPL\" WHERE itemnumber=278")
        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/moredetail.pl?itemnumber=278&biblionumber=131&bi=131#item278

Interface

staff

Element selector

#container278

Missing selector

Y

setup

sql UPDATE items SET holdingbranch="FPL" WHERE itemnumber=278

workflow


        

teardown

sql UPDATE items SET holdingbranch="CPL" WHERE itemnumber=278

Notes

Currently this screenshots the entire item. We would need a selector for only the two sections "Item Information" and "Statuses".

Additional KTD data

Thumbnails


Current Thumbnail old
New Thumbnail new
New (de)
New (el)
New (es)
New (fr)
New (hi)
New (zh_Hant)

Current

New (updated on Thu Dec 4 21:17:53 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

2025-12-01 12:15:14 +0000

2025-08-05 14:30:03 +0000

2025-12-04 21:30:02 +0000

2025-12-01 12:15:14 +0000

Old screenshot