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

transitreceive (#929) ❌ Not validated

Job

No job planned.

Difficulty

Medium

Spec (updated on Thu May 22 13:08:50 2025)

describe("circ/transitreceive", 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("transitreceive", function () {
                cy.visit("/cgi-bin/koha/circ/transferstoreceive.pl");
                cy.visit("/cgi-bin/koha/circ/branchtransfers.pl");
                /* FIXME - Invalid step Set value of #tobranchcd to FPL */
                /* FIXME - Invalid step Enter 39999000005417 in #barcode input */
                /* FIXME - Invalid step Submit */
                /* FIXME - Invalid step Change library to Fairview */
                cy.visit("/cgi-bin/koha/circ/transferstoreceive.pl");
                cy.get(".col-sm-10").should('be.visible').screenshot("transitreceive");
            });
        });
    });
    afterEach(function () {
        
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

transferstoreceive.pl

Interface

staff

Element selector

.col-sm-10

Missing selector

Y

setup


        

workflow

go_to branchtransfers.pl
Set value of #tobranchcd to FPL
Enter 39999000005417 in #barcode input
Submit
Change library to Fairview
go_to transferstoreceive.pl

teardown


    

Notes

No id selector. main seems to include the menu on the left

Additional KTD data

Test failure

AssertionError: Timed out retrying after 10000ms: Expected to find element: `.col-sm-10`, but never found it.
    at Context.eval (webpack://koha/./cypress/integration/circ/transitreceive.ts:22:37)

Old