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

newvendor-interfaces (#11) ✅ Validated

Job

Difficulty

Hard

Spec (updated on Fri Mar 27 07:56:03 2026)

describe("acquisitions/newvendor-interfaces", 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("newvendor-interfaces", function () {
                cy.visit("/cgi-bin/koha/acquisition/vendors/add");
                cy.waitForPageLoad();
                cy.get("#interfaces_relationship > a:nth-child(1)").click();
                cy.wait_for_ajax();
                cy.get("div.accordion:nth-of-type(4)").should('be.visible').screenshot("newvendor-interfaces");
            });
        });
    });
    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

div.accordion:nth-of-type(4)

Missing selector

Y

setup


        

workflow

click #interfaces_relationship > a:nth-child(1)
wait_for_ajax

teardown


    

Notes

Code refuse to simulate the click on the class="btn btn-default" which trigger "add_interface()" in order to get the full interface.

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 07:58:18 2026)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

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

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

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

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

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

2026-03-27 08:00:03 +0000

2026-03-27 07:45:03 +0000

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

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

Old screenshot