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

addmarcfield (#142)

Job

No job planned.

Difficulty

Medium

Spec (updated on Wed Jun 4 10:03:30 2025)

describe("admin/additional/addmarcfield", 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("addmarcfield", function () {
                cy.visit("/cgi-bin/koha/admin/additional-fields.pl?op=add_form&tablename=subscription");
                cy.get("#name").type("Target audience");
                cy.get("#marcfield").type("521$a");
                cy.get("main").click();
                cy.get("main").should('be.visible').screenshot("addmarcfield");
            });
        });
    });
    afterEach(function () {
        
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

additional-fields.pl?op=add_form&tablename=subscription

Interface

staff

Element selector

main

Missing selector

N

setup


        

workflow

type #name=Target audience
type #marcfield=521$a
click main

teardown


    

Notes

Source screenshot comes from 22.11; same screen in 23.05 is different.

Additional KTD data

Old

New (updated on Wed Jun 4 22:27:23 2025)

New (es)

New (fr)