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

itemsearchfields (#290)

Job

No job planned.

Difficulty

Easy

Spec (updated on Fri Jul 25 10:05:14 2025)

describe("admin/cataloging/itemsearchfields", 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.query("INSERT INTO items_search_fields (name, label, tagfield, tagsubfield) VALUES (\"Edition\", \"Edition\", \"250\", \"a\")")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("itemsearchfields", function () {
                cy.visit("/cgi-bin/koha/admin/items_search_fields.pl");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("itemsearchfields");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM items_search_fields WHERE name=\"Edition\"")
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

admin/items_search_fields.pl

Interface

staff

Element selector

main

Missing selector

N

setup

sql INSERT INTO items_search_fields (name, label, tagfield, tagsubfield) VALUES ("Edition", "Edition", "250", "a")

workflow


        

teardown

sql DELETE FROM items_search_fields WHERE name="Edition"

Notes

Additional KTD data

Thumbnails


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

Old

New (updated on Fri Jul 25 10:06:50 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Fri Jul 25 10:15:02 2025

Old screenshot