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

debittypes (#16)

Job

No job planned.

Difficulty

Easy

Spec (updated on Thu May 22 13:07:35 2025)

describe("admin/accounting/debittypes", function () {
    const languages = ['en', 'es-ES', 'fr-FR'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // If previous test failed, skip this one
                if (Cypress.env("TEST_FAILED")) {
                    this.skip();
                }
                cy.login();
                cy.set_cookie_lang(lang);
            });

            it("debittypes", function () {
                cy.visit("/cgi-bin/koha/admin/debit_types.pl");
                cy.get("main").should('be.visible').screenshot("debittypes");
            });
        });
    });
    afterEach(function () {
        
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

debit_types.pl

Interface

staff

Element selector

main

Missing selector

N

setup


        

workflow


        

teardown


    

Notes

With sample data

25/06/2025 Not validating as the new screenshot shows all debit types, whereas it should show what you see when you first go to this page, with system debit types filtered out. See Koha Manual page https://koha-community.org/manual/latest/en/html/administration.html#debit-types AC

Additional KTD data

Old

New (updated on Wed Jun 4 20:35:49 2025)

New (es)

New (fr)