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

basketgroupopen (#172)

Job

No job planned.

Difficulty

Spec (updated on Wed Aug 6 12:10:11 2025)

describe("acquisitions/basketgroupopen", function () {
    const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'zh-Hant-TW'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // If previous test failed, skip this one
                if (Cypress.env("TEST_FAILED")) {
                    this.skip();
                }
                cy.query("INSERT INTO aqbasketgroups (id, name, closed, booksellerid, deliveryplace, billingplace) VALUES (1, \"My Basket Group\", 0, 1, \"CPL\", \"CPL\")")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("basketgroupopen", function () {
                cy.visit("/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=1");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("basketgroupopen");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM aqbasketgroups WHERE id=1")
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

acqui/basketgroup.pl?booksellerid=1

Interface

staff

Element selector

main

Missing selector

N

setup

sql INSERT INTO aqbasketgroups (id, name, closed, booksellerid, deliveryplace, billingplace) VALUES (1, "My Basket Group", 0, 1, "CPL", "CPL")

workflow


        

teardown

sql DELETE FROM aqbasketgroups WHERE id=1

Notes

Should have a basket in the group (means adding a basket with sql to aqbaskets with foreign key to this aqbasketgroup.id)
same for the closed basket screenshot.

Additional KTD data

Thumbnails


Old Thumbnail old
New Thumbnail new
New (de)
New (el)
New (es)
New (fr)
New (zh_Hant)

Old

New (updated on Wed Aug 6 12:12:14 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Wed Aug 6 12:15:03 2025

Old screenshot