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

fastadditem (#821) ❌ Not validated

Job

Difficulty

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

describe("circ/fastadditem", 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("fastadditem", function () {
                cy.visit("/cgi-bin/koha/circ/circulation-home.pl");
                cy.waitForPageLoad();
                cy.get(".fastadd").click();
                cy.get("input[id^='tag_000_subfield_00']").click();
                cy.get("input[id^='tag_008_subfield_00']").click();
                cy.get("input[id^").type("'tag_245_subfield_a']='The complete works of William Shakespeare'");
                cy.get("select[id^").select("'field_marceditor942c']=BK", {force: true});
                cy.get("#saverecord").click();
                cy.get("main").should('be.visible').screenshot("fastadditem");
            });
        });
    });
    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

circ/circulation-home.pl

Interface

staff

Element selector

main

Missing selector

setup


        

workflow

click .fastadd
click input[id^='tag_000_subfield_00']
click input[id^='tag_008_subfield_00']
type input[id^='tag_245_subfield_a']='The complete works of William Shakespeare'
select select[id^='field_marceditor942c']=BK
click #saverecord

teardown


    

Notes

Additional KTD data

Test failure

Error: Syntax error, unrecognized expression: input[id^
    at find.error (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:8298:8)
    at tokenize (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:8964:8)
    at select (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:9423:20)
    at jQuery.find (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:7734:9)
    at jQuery.fn.init.find (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:9633:11)
    at new jQuery.fn.init (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:9748:40)
    at Object.query (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:17942:10)
    at $Cy.$$ (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:148475:57)
    at <unknown> (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:135687:18)
    at Object.subjectFn (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:152370:16)
    at $Cy.verifyUpcomingAssertions (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:151635:31)
    at onRetry (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:152361:15)
    at retryQuery (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:152374:10)
    at <unknown> (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:152527:17)
    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._settlePromiseCtx (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1583:10)
    at _drainQueueStep (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2381: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)

Thumbnails


Current Thumbnail old

Current

Old screenshot