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

vendorpage (#12)

Job

No job planned.

Difficulty

Easy

Spec (updated on Wed Aug 6 09:07:14 2025)

describe("acquisitions/vendorpage", 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 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);
        if (this.currentTest.state === 'failed') {
            Cypress.env("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


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

Old

New (updated on Wed Aug 6 09:09:06 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Wed Aug 6 09:15:03 2025

Wed Jun 4 20:45:01 2025

Thu May 22 13:30:01 2025

Wed May 21 14:15:02 2025

Wed May 21 14:00:03 2025

Tue May 20 15:30:01 2025

Mon May 19 18:00:01 2025

Wed Apr 3 12:29:20 2024

Old screenshot