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

newvendor-interfaces (#11)

Job

No job planned.

Difficulty

Hard

Spec (updated on Thu May 22 13:07:34 2025)

describe("acquisitions/newvendor-interfaces", function () {
    const languages = ['en', 'es-ES', 'fr-FR'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // If previous test failed, skip this one
                if (Cypress.env("TEST_FAILED")) {
                    this.skip();
                }
                cy.login();
                cy.set_cookie_lang(lang);
            });

            it("newvendor-interfaces", function () {
                cy.visit("/cgi-bin/koha/acquisition/vendors/add");
                cy.get("#interfaces .btn-default").click();
                cy.get("#interfaces").should('be.visible').screenshot("newvendor-interfaces");
            });
        });
    });
    afterEach(function () {
        
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

acquisition/vendors/add

Interface

staff

Element selector

#interfaces

Missing selector

N

setup


        

workflow

click #interfaces .btn-default

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

Old

New (updated on Wed Jun 4 20:28:43 2025)

New (es)

New (fr)