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

addattributes (#160)

Job

No job planned.

Difficulty

Medium

Spec (updated on Wed Jul 23 15:04:18 2025)

describe("patrons/addattributes", function () {
    const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'zh-Hant-TW'];
    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("addattributes", function () {
                cy.visit("/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=PT");
                cy.waitForPageLoad();
                /* FIXME - Invalid step - Go to Administration > Patron attribute types. Create one or two attributes */
                /* FIXME - Invalid step - Go to Patrons module */
                /* FIXME - Invalid step - Click New patron, then a patron category, e.g. Patron */
                cy.get("#memberentry_patron_attributes").should('be.visible').screenshot("addattributes");
            });
        });
    });
    afterEach(function () {
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

members/memberentry.pl?op=add&categorycode=PT

Interface

staff

Element selector

#memberentry_patron_attributes

Missing selector

N

setup


        

workflow

- Go to Administration > Patron attribute types. Create one or two attributes
- Go to Patrons module
- Click New patron, then a patron category, e.g. Patron

teardown


    

Notes

Needs some patron categories set up, but can use defaults.

Additional KTD data

Thumbnails


Current Thumbnail old
New Thumbnail new
New (de)
New (el)
New (es)
New (fr)
New (zh_Hant)

Current

New (updated on Wed Jul 23 17:56:45 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Wed Jul 23 18:00:02 2025

Wed Jun 4 22:45:01 2025

Wed May 21 00:45:01 2025

Old screenshot