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

newvendor2 (#8) ❌ Not validated

Job

No job planned.

Difficulty

Easy

Spec (updated on Thu Dec 4 15:45:00 2025)

describe("acquisitions/newvendor2", 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.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("newvendor2", function () {
                cy.visit("/cgi-bin/koha/acquisition/vendors/add");
                cy.waitForPageLoad();
                cy.get("#contacts .btn-default").click();
                cy.get("#contacts").should('be.visible').screenshot("newvendor2");
            });
        });
    });
    afterEach(function () {
        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/add

Interface

staff

Element selector

#contacts

Missing selector

N

setup


        

workflow

click #contacts .btn-default

teardown


    

Notes

Additional KTD data

Test failure

AssertionError: Timed out retrying after 10000ms: Expected to find element: `#contacts .btn-default`, but never found it.
    at Context.eval (webpack://koha/./cypress/integration/acquisitions/newvendor2.ts:18:19)

Thumbnails


Current Thumbnail old

Current

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

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

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

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

2025-05-21 12:30:03 +0000

2025-05-19 22:45:02 +0000

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

2025-12-04 14:45:05 +0000

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

Old screenshot