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

transferstatus (#928)

Job

No job planned.

Difficulty

Medium

Spec (updated on Wed Jul 23 15:04:22 2025)

describe("circ/transferstatus", 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 branchtransfers (itemnumber, frombranch, tobranch, reason, daterequested, datesent) VALUE (278, \"FFL\", \"CPL\", \"Manual\", NOW(), NOW())")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("transferstatus", function () {
                cy.visit("/cgi-bin/koha/catalogue/detail.pl?biblionumber=131");
                cy.waitForPageLoad();
                cy.waitForTableLoad();
                cy.get("#bibliodetails").should('be.visible').screenshot("transferstatus");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM branchtransfers WHERE itemnumber=278 and frombranch=\"FFL\"")
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

catalogue/detail.pl?biblionumber=131

Interface

staff

Element selector

#bibliodetails

Missing selector

N

setup

sql INSERT INTO branchtransfers (itemnumber, frombranch, tobranch, reason, daterequested, datesent) VALUE (278, "FFL", "CPL", "Manual", NOW(), NOW())

workflow

wait_for_table_load

teardown

sql DELETE FROM branchtransfers WHERE itemnumber=278 and frombranch="FFL"

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 Wed Jul 23 18:56:14 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Wed Jul 23 19:00:02 2025

Wed Jul 23 12:15:03 2025

Tue Jul 22 15:30:02 2025

Tue Jul 22 15:00:02 2025

Old screenshot