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

opachomeloginform (#1083) ❌ Not validated

Job

Difficulty

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

describe("opac/opachomeloginform", 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();
                }
                Cypress.expose('PADDING_BEFORE_SCREENSHOT', "1em")
                cy.set_cookie_lang(lang);
            });

            it("opachomeloginform", function () {
                cy.visitOpac("/cgi-bin/koha/opac-main.pl");
                cy.waitForPageLoad();
                cy.get("#login").should('be.visible').screenshot("opachomeloginform");
            });
        });
    });
    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

opac-main.pl

Interface

opac

Log in

No

Element selector

#login

Missing selector

N

setup


        

workflow

set padding=1em

teardown


    

Notes

Additional KTD data

Test failure

CypressError: `cy.visit()` failed trying to load:

http://kohadev-intra.mydnsname.org:8081/undefined/cgi-bin/koha/opac-main.pl

The response we received from your web server was:

  > 404: Not Found

This was considered a failure because the status code was not `2xx`.

If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`
    at <unknown> (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:135298:76)
    at visitFailedByErr (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:134888:12)
    at <unknown> (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:135281:13)
    at tryCatcher (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1777:23)
    at Promise._settlePromiseFromHandler (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1489:31)
    at Promise._settlePromise (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1546:18)
    at Promise._settlePromise0 (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1591:10)
    at Promise._settlePromises (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1667:18)
    at _drainQueueStep (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2377:12)
    at _drainQueue (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2370:9)
    at Async._drainQueues (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2386:5)
    at Async.drainQueues (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2256:14)
From Your Spec Code:
    at Context.eval (webpack://koha/./cypress/support/e2e.js:35:7)
    at wrapped (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:146481:43)

Thumbnails


Current Thumbnail old

Current

2025-12-01 12:15:14 +0000

2025-06-05 11:15:03 +0000

2025-06-05 10:30:03 +0000

2025-06-05 09:15:03 +0000

2025-06-05 08:45:01 +0000

2025-06-04 23:30:01 +0000

2025-06-04 09:00:03 +0000

2025-06-02 07:45:03 +0000

2025-12-01 12:15:14 +0000

Old screenshot