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

addhouseboundroles (#161) ❌ Not validated

Job

Difficulty

Medium

Spec (updated on Mon Jun 1 09:45:06 2026)

describe("patrons/addhouseboundroles", 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.set_syspref("HouseboundModule", "1");
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("addhouseboundroles", function () {
                cy.visit("/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=19");
                cy.waitForPageLoad();
                cy.get("#memberentry_housebound_roles").should('be.visible').screenshot("addhouseboundroles");
            });
        });
    });
    afterEach(function () {
        cy.set_syspref("HouseboundModule", "0");
        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

members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=19

Interface

staff

Element selector

#memberentry_housebound_roles

Missing selector

N

setup

set_syspref HouseboundModule=1

workflow


        

teardown

set_syspref HouseboundModule=0

Notes

Needs some patron categories set up, but can use defaults

Page: members/memberentry.pl?op=add&categorycode=PT
Element selector: #memberentry_housebound_roles

workflow

- Go to Administration > System preferences. Enable HouseboundModule
- Go to Patrons module
- Click New patron, then a patron category, e.g. Patron

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 Mon Jun 1 09:53:16 2026)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

Old screenshot