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

opacnavexample (#165) ✅ Validated

Job

No job planned.

Difficulty

Medium

Spec (updated on Thu Dec 4 15:47:56 2025)

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

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

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 Dec 4 19:29:58 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

2025-12-01 12:15:14 +0000

2025-07-23 18:15:01 +0000

2025-06-04 22:45:01 +0000

2025-06-04 13:45:03 +0000

2025-06-04 13:15:01 +0000

2025-06-04 13:00:03 +0000

2025-05-22 16:00:01 +0000

2025-12-04 19:30:01 +0000

2025-12-01 12:15:14 +0000

Old screenshot