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

localtitlesimportkbart (#1666) ❌ Not validated

Job

Difficulty

Spec (updated on Tue Aug 25 14:56:51 2026)

describe("erm/localtitlesimportkbart", 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.expose("EN_TEST_FAILED")) {
                    this.skip();
                }
                cy.set_syspref("ERMModule", "1");
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("localtitlesimportkbart", function () {
                cy.visit("/cgi-bin/koha/erm/eholdings/local/titles/kbart-import");
                cy.waitForPageLoad();
                cy.get("#erm_agreements .erm").should('be.visible').screenshot("localtitlesimportkbart");
            });
        });
    });
    afterEach(function () {
        cy.set_syspref("ERMModule", "0");
        Cypress.expose('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.expose("EN_TEST_FAILED", true);
        }
    });
});

Spec data

Page

erm/eholdings/local/titles/kbart-import

Interface

staff

Element selector

#erm_agreements .erm

Missing selector

N

setup

set_syspref ERMModule=1

workflow


        

teardown

set_syspref ERMModule=0

Notes

Additional KTD data

Test failure

AssertionError: Timed out retrying after 10000ms: Expected to find element: `#erm_agreements .erm`, but never found it.
    at Context.eval (webpack://koha/./cypress/integration/erm/localtitlesimportkbart.ts:19:47)

Thumbnails


Current Thumbnail old

Current

Old screenshot