Job
    
        No job planned.
    
    
Difficulty 
    Easy
    
        
        
        Cancel
    
    
        Spec (updated on Wed Jul 23 15:04:13 2025)
        describe("patrons/addcontact", 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.login();
                Cypress.env('PADDING_BEFORE_SCREENSHOT', "3em")
                cy.set_cookie_lang(lang);
            });
            it("addcontact", function () {
                cy.visit("/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=PT");
                cy.waitForPageLoad();
                cy.get("#memberentry_contact").should('be.visible').screenshot("addcontact");
            });
        });
    });
    afterEach(function () {
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});
    
    Spec data 
    
        Page
        members/memberentry.pl?op=add&categorycode=PT
        
Interface
        staff
        
        
Element selector
        #memberentry_contact
        
Missing selector
        N
        
setup
        
        workflow
        set padding=3em
        teardown
        
     
    Notes 
    Needs some patron categories set up, but can use defaults
    
        
        Cancel
    
    Additional KTD data 
    
    
        
        Cancel