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

manage2fa-disabled (#163) ❓ Need revalidation

Job

Difficulty

Medium

Spec (updated on Mon Jun 1 12:16:08 2026)

describe("patrons/manage2fa-disabled", 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("TwoFactorAuthentication", "enabled");
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("manage2fa-disabled", function () {
                cy.visit("/cgi-bin/koha/members/two_factor_auth.pl?borrowernumber=51");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("manage2fa-disabled");
            });
        });
    });
    afterEach(function () {
        cy.set_syspref("TwoFactorAuthentication", "disabled");
        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/two_factor_auth.pl?borrowernumber=51

Interface

staff

Element selector

main

Missing selector

N

setup

set_syspref TwoFactorAuthentication=enabled

workflow


        

teardown

set_syspref TwoFactorAuthentication=disabled

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 Mon Jun 1 12:25:00 2026)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

Old screenshot