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

autofill (#84)

Job

No job planned.

Difficulty

Hard

Spec (updated on Fri Jun 13 07:07:56 2025)

describe("admin/acquisitions/autofill", 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.query("UPDATE aqbudgetperiods set budget_period_startdate=\"2025-01-01\", budget_period_enddate=\"2025-12-01\" where budget_period_id=1")
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("autofill", function () {
                cy.visit("/cgi-bin/koha/admin/aqplan.pl?budget_period_id=1&authcat=MONTHS");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("autofill");
            });
        });
    });
    afterEach(function () {
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

admin/aqplan.pl?budget_period_id=1&authcat=MONTHS

Interface

staff

Element selector

main

Missing selector

N

setup

sql UPDATE aqbudgetperiods set budget_period_startdate="2025-01-01", budget_period_enddate="2025-12-01" where budget_period_id=1

workflow


        

teardown


    

Notes

Sample data is not ideal as the budget cover a very large period. I think a yearly budget is more in line with what most libraries would have. If creating sample data for this, difficulty increases to Hard.

Go to Administration > Budgets > Click on Main Budget > Click on Planning > Plan by months

Additional KTD data

Old

New (updated on Fri Jun 13 07:09:14 2025)

New (es)

New (fr)