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

showactivebaskets (#222)

Job

No job planned.

Difficulty

Easy

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

describe("acquisitions/showactivebaskets", 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("showactivebaskets", function () {
                cy.visit("/cgi-bin/koha/acqui/booksellers.pl?booksellerid=1");
                cy.get("#acq_booksellers #acqui_order_supplierlist div.supplier.page-section").should('be.visible').screenshot("showactivebaskets");
            });
        });
    });
    afterEach(function () {
        
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

booksellers.pl?booksellerid=1

Interface

staff

Element selector

#acq_booksellers #acqui_order_supplierlist div.supplier.page-section

Missing selector

N

setup


        

workflow


        

teardown


    

Notes

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

Additional KTD data

Old

New (updated on Wed Jun 4 22:51:42 2025)

New (es)

New (fr)