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

planningbymonths (#140)

Job

No job planned.

Difficulty

Medium

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

describe("admin/acquisitions/planningbymonths", 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("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("planningbymonths", function () {
                cy.visit("/cgi-bin/koha/admin/aqplan.pl?budget_period_id=1&authcat=MONTHS");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("planningbymonths");
            });
        });
    });
    afterEach(function () {
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

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

In the sample data, the budget period is very long and the monthly planning doesn't look good. We'd probably have to create another budget entirely...
An alternative is to update the displayed budget to setup a more fitting starting date.
We also need to add query parameters in the page section.

Go to Administration > Budgets > Click Main budget > Click Planning - Planning by months

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 17:39:45 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Fri Jun 13 07:15:03 2025

Fri Jun 13 07:00:03 2025

Thu Jun 12 15:00:03 2025

Wed Jun 11 15:15:03 2025

Wed Jun 4 22:30:01 2025

Wed May 21 00:30:01 2025

Old screenshot