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

cashregisters (#83)

Job

No job planned.

Difficulty

Hard

Spec (updated on Thu Jul 31 18:18:18 2025)

describe("admin/accounting/cashregisters", 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 cash_registers (name, description, branch, branch_default, starting_float) VALUES (\"Fairfield\", \"\", \"FFL\", 0, 100), (\"Fairview\", \"\", \"FFL\", 0, 50), (\"Centreville2\", \"Circulation desk\", \"FFL\", 1, 250), (\"Centreville1\", \"Registration\", \"FFL\", 0, 100);")
                cy.set_syspref("UseCashRegisters", "1");
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("cashregisters", function () {
                cy.visit("/cgi-bin/koha/admin/cash_registers.pl");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("cashregisters");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM cash_registers;")
        cy.set_syspref("UseCashRegisters", "0");
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

cash_registers.pl

Interface

staff

Element selector

main

Missing selector

N

setup

sql INSERT INTO cash_registers (name, description, branch, branch_default, starting_float) VALUES ("Fairfield", "", "FFL", 0, 100), ("Fairview", "", "FFL", 0, 50), ("Centreville2", "Circulation desk", "FFL", 1, 250), ("Centreville1", "Registration", "FFL", 0, 100);
set_syspref UseCashRegisters=1

workflow


        

teardown

sql DELETE FROM cash_registers;
set_syspref UseCashRegisters=0

Notes

Additional KTD data

Thumbnails


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

Current

New (updated on Thu Jul 31 18:20:02 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Wed Jun 18 10:15:03 2025

Wed Jun 4 22:00:01 2025

Tue May 20 23:30:01 2025

Wed Oct 9 13:50:01 2024

Old screenshot