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

AcquisitionDetails (#76) ✅ Validated

Job

Difficulty

Hard

Spec (updated on Fri Mar 27 08:07:07 2026)

describe("acquisitions/AcquisitionDetails", 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.query("INSERT INTO aqorders(`biblionumber`,`entrydate`,`quantity`,`currency`,`listprice`,`created_by`,`basketno`,`timestamp`,`rrp`,`replacementprice`,`rrp_tax_excluded`,`rrp_tax_included`,`ecost`,`ecost_tax_excluded`,`ecost_tax_included`,`tax_rate_on_ordering`,`tax_value_on_ordering`,`discount`,`budget_id`,`parent_ordernumber`,`orderstatus`) VALUES (262, '2026-03-11', 1, 'USD', '10.000000', 51, 1, '2026-03-11 15:28:45', '10.00', '10.000000', '10.000000', '11.965000', '9.00', '9.000000', '10.768500', '0.1965', '1.768500', 10, 2, 1, 'new')")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("AcquisitionDetails", function () {
                cy.visit("/cgi-bin/koha/catalogue/detail.pl?biblionumber=262");
                cy.waitForPageLoad();
                cy.get("ul.nav:nth-child(1) > li:nth-child(3)").click();
                cy.wait_for_ajax();
                cy.get("#bibliodetails").should('be.visible').screenshot("AcquisitionDetails");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM aqorders WHERE biblionumber=262")
        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

catalogue/detail.pl?biblionumber=262

Interface

staff

Element selector

#bibliodetails

Missing selector

N

setup

sql INSERT INTO aqorders(`biblionumber`,`entrydate`,`quantity`,`currency`,`listprice`,`created_by`,`basketno`,`timestamp`,`rrp`,`replacementprice`,`rrp_tax_excluded`,`rrp_tax_included`,`ecost`,`ecost_tax_excluded`,`ecost_tax_included`,`tax_rate_on_ordering`,`tax_value_on_ordering`,`discount`,`budget_id`,`parent_ordernumber`,`orderstatus`) VALUES (262, '2026-03-11', 1, 'USD', '10.000000', 51, 1, '2026-03-11 15:28:45', '10.00', '10.000000', '10.000000', '11.965000', '9.00', '9.000000', '10.768500', '0.1965', '1.768500', 10, 2, 1, 'new')

workflow

click ul.nav:nth-child(1) > li:nth-child(3)
wait_for_ajax

teardown

sql DELETE FROM aqorders WHERE biblionumber=262

Notes

This is the third tab on this table, so the li class is active on the third listing. 

page: catalogue/detail.pl
selector: bibliodetails (3 li class=active)
Go to Home Page > Acquisitions> Click New- Basket> Create Basket > Add to Basket > Click on Title created in Basket

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 Fri Mar 27 10:50:15 2026)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

2026-03-27 11:00:06 +0000

2026-03-27 08:30:02 +0000

Old screenshot