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

otheroptions-authval-lang (#297) ❌ Not validated

Job

Difficulty

Spec (updated on Thu Mar 26 13:37:44 2026)

describe("admin/cataloging/otheroptions-authval-lang", 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("otheroptions-authval-lang", function () {
                cy.visit("/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=040&tagsubfield=a&frameworkcode=#subafield#subafield");
                cy.waitForPageLoad();
                cy.get("#authorised_value0").select("LANG", {force: true});
                cy.get("#otha").should('be.visible').screenshot("otheroptions-authval-lang");
            });
        });
    });
    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

admin/marc_subfields_structure.pl?op=add_form&tagfield=040&tagsubfield=a&frameworkcode=#subafield

Interface

staff

Element selector

#otha

Missing selector

setup


        

workflow

select #authorised_value0=LANG

teardown


    

Notes

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 Thu Mar 26 15:09:25 2026)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

2026-03-26 13:45:03 +0000

Old screenshot