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

manualcredit (#1199)

Job

No job planned.

Difficulty

Spec (updated on Thu Jul 31 20:37:39 2025)

describe("patrons/manualcredit", 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 additional_fields (`tablename`,`name`) VALUES ('accountlines:credit','Bank name');")
                cy.query("INSERT INTO additional_fields (`tablename`,`name`) VALUES ('accountlines:credit','Check #');")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("manualcredit", function () {
                cy.visit("/cgi-bin/koha/members/mancredit.pl?borrowernumber=5");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("manualcredit");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM additional_fields")
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

mancredit.pl?borrowernumber=5

Interface

staff

Element selector

main

Missing selector

setup

sql INSERT INTO additional_fields (`tablename`,`name`) VALUES ('accountlines:credit','Bank name');
sql INSERT INTO additional_fields (`tablename`,`name`) VALUES ('accountlines:credit','Check #');

workflow


        

teardown

sql DELETE FROM additional_fields

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 Thu Jul 31 20:39:17 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Thu Jul 31 20:45:03 2025

Old screenshot