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

viewsentnoticemodal (#3587) ❌ Not validated

Job

Difficulty

Spec (updated on Tue Aug 25 14:56:56 2026)

describe("patrons/viewsentnoticemodal", 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.expose("EN_TEST_FAILED")) {
                    this.skip();
                }
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("viewsentnoticemodal", function () {
                cy.visit("/cgi-bin/koha/members/moremember.pl?borrowernumber=19");
                cy.waitForPageLoad();
                cy.get("#toolbar > .btn-group:nth-child(8)").click();
                cy.get("#sendwelcome").click();
                cy.visit("/cgi-bin/koha/members/notices.pl?borrowernumber=19");
                cy.waitForPageLoad();
                cy.get("a[data-noticeid=\"1\"]").click();
                cy.get("#noticeModal").should('be.visible').screenshot("viewsentnoticemodal");
            });
        });
    });
    afterEach(function () {
        Cypress.expose('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.expose("EN_TEST_FAILED", true);
        }
    });
});

Spec data

Page

members/moremember.pl?borrowernumber=19

Interface

staff

Element selector

#noticeModal

Missing selector

Y

setup


        

workflow

click #toolbar > .btn-group:nth-child(8)
click #sendwelcome
go_to notices.pl?borrowernumber=19
click a[data-noticeid="1"]

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 Tue Aug 25 18:59:38 2026)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

Old screenshot