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

opacnavexample (#165)

Job

No job planned.

Difficulty

Medium

Spec (updated on Wed Jun 4 13:40:17 2025)

describe("tools/additionalcontent/opacnavexample", 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("opacnavexample", function () {
                cy.visit("/cgi-bin/koha/tools/additional-contents.pl?op=add_form&id=2&editmode=text");
                cy.get("#title_default").should('be.visible');
                cy.get("main").should('be.visible').screenshot("opacnavexample");
            });
        });
    });
    afterEach(function () {
        
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

tools/additional-contents.pl?op=add_form&id=2&editmode=text

Interface

staff

Element selector

main

Missing selector

setup


        

workflow

wait_for_visible #title_default

teardown


    

Notes

parameters : ?op=add_form&id=4&editmode=text

Go to tools/additional-contents.pl?category=html_customizations
Choose the content to modify and in column Actions click on the arrow right to Edit > click on Edit with Text editor

Additional KTD data

Old

New (updated on Wed Jun 4 22:43:31 2025)

New (es)

New (fr)