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

fastadditem (#821) ❌ Not validated

Job

No job planned.

Difficulty

Spec (updated on Mon Aug 4 19:38:32 2025)

describe("circ/fastadditem", 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("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.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("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 Sizzle.error (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:8470:8)
    at Sizzle.tokenize (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:9122:11)
    at Sizzle.select (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:9549:20)
    at Function.Sizzle [as find] (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:7774:9)
    at jQuery.fn.init.find (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:9805:11)
    at new jQuery.fn.init (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:9920:40)
    at Object.query (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:34703:10)
    at $Cy.$$ (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:140343:57)
    at <unknown> (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:132228:18)
    at Object.subjectFn (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:144154:16)
    at $Cy.verifyUpcomingAssertions (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:143498:31)
    at onRetry (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:144145:15)
    at retryQuery (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:144158:10)
    at <unknown> (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:144308:17)
    at tryCatcher (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromiseCtx (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:1613:10)
    at _drainQueueStep (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2411:12)
    at _drainQueue (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:2286:14)

Thumbnails


Old Thumbnail old

Old

Old screenshot