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

basketempty (#171) ✅ Validated

Job

No job planned.

Difficulty

Easy

Spec (updated on Thu Dec 4 15:47:57 2025)

describe("acquisitions/basketempty", 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("basketempty", function () {
                cy.visit("/cgi-bin/koha/acqui/basket.pl?basketno=1");
                cy.waitForPageLoad();
                /* FIXME - Invalid step Needs a basket with id 1 to be created first. On KTD in sample data there is already a basket with id=1 so it's not necessary to add it in the spec. */
                cy.get("#acq_basket.acq div.col-md-10.order-sm-1.order-md-2 main").should('be.visible').screenshot("basketempty");
            });
        });
    });
    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

basket.pl?basketno=1

Interface

staff

Element selector

#acq_basket.acq div.col-md-10.order-sm-1.order-md-2 main

Missing selector

N

setup


        

workflow

Needs a basket with id 1 to be created first. On KTD in sample data there is already a basket with id=1 so it's not necessary to add it in the spec.

teardown


    

Notes

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 19:38:03 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

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

2025-06-04 23:00:02 +0000

2025-05-22 16:00:01 +0000

2025-12-04 19:45:01 +0000

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

Old screenshot