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

addpage (#73)

Job

No job planned.

Difficulty

Easy

Spec (updated on Wed Jun 18 10:26:01 2025)

describe("tools/additionalcontent/addpage", 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();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("addpage", function () {
                cy.visit("/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=pages&editmode=wysiwyg");
                cy.waitForPageLoad();
                cy.get(".tox-editor-container").should('be.visible');
                cy.get("main").should('be.visible').screenshot("addpage");
            });
        });
    });
    afterEach(function () {
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

tools/additional-contents.pl?op=add_form&category=pages&editmode=wysiwyg

Interface

staff

Element selector

main

Missing selector

setup


        

workflow

wait_for_visible .tox-editor-container

teardown


    

Notes

Additional KTD data

Old

New (updated on Wed Jun 18 10:27:31 2025)

New (es)

New (fr)