Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manual | Manual in Spanish

Image details

Image name

basketempty (#171)

Job

No job planned.

Difficulty

Easy

Spec (updated on Fri Apr 4 08:25:06 2025)

describe("acquisitions/basketempty", function () {
    beforeEach(() => {
        cy.login();
        cy.set_cookie_lang();
    });

    it("basketempty", function () {
        cy.visit("/cgi-bin/koha/acqui/basket.pl?basketno=1");
        /* 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");
    });
});

Spec data

Page

basket.pl?basketno=1

Element selector

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

Missing selector

N

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.

Notes

Additional KTD data

Old