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

newcity (#436)

Job

No job planned.

Difficulty

Spec (updated on Fri Jun 6 14:10:56 2025)

describe("admin/patroncirc/newcity", 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();
                Cypress.env('PADDING_BEFORE_SCREENSHOT', "0.1em")
                cy.set_cookie_lang(lang);
            });

            it("newcity", function () {
                cy.visit("/cgi-bin/koha/admin/cities.pl?op=add_form");
                cy.get("main").should('be.visible').screenshot("newcity");
            });
        });
    });
    afterEach(function () {
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

admin/cities.pl?op=add_form

Interface

staff

Element selector

main

Missing selector

setup


        

workflow

set padding=0.1em

teardown


    

Notes

Additional KTD data

Old

New (updated on Fri Jun 6 14:12:18 2025)

New (es)

New (fr)