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

vendorpage (#12) ❓ Need revalidation

Job

No job planned.

Difficulty

Easy

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

describe("acquisitions/vendorpage", 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 aqcontract (contractnumber, contractstartdate, contractenddate, contractname, contractdescription, booksellerid) VALUES (1, NOW(), ADDDATE(NOW(), INTERVAL 30 DAY), \"My Contract\", \"Sample contract description\", 1)")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("vendorpage", function () {
                cy.visit("/cgi-bin/koha/acquisition/vendors/1");
                cy.waitForPageLoad();
                cy.get("#vendors_show").should('be.visible').screenshot("vendorpage");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM aqcontract WHERE contractnumber=1")
        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

acquisition/vendors/1

Interface

staff

Element selector

#vendors_show

Missing selector

N

setup

sql INSERT INTO aqcontract (contractnumber, contractstartdate, contractenddate, contractname, contractdescription, booksellerid) VALUES (1, NOW(), ADDDATE(NOW(), INTERVAL 30 DAY), "My Contract", "Sample contract description", 1)

workflow


        

teardown

sql DELETE FROM aqcontract WHERE contractnumber=1

Notes

Not all fields are translated in every language.

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 16:11:35 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

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

2025-08-06 09:15:03 +0000

2025-06-04 20:45:01 +0000

2025-05-22 13:30:01 +0000

2025-05-21 14:15:02 +0000

2025-05-21 14:00:03 +0000

2025-05-20 15:30:01 +0000

2025-05-19 18:00:01 +0000

2024-04-03 12:29:20 +0000

2025-12-04 16:15:01 +0000

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

Old screenshot