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

deletequote (#1788) ❌ Not validated

Job

No job planned.

Difficulty

Spec (updated on Fri Aug 15 08:22:15 2025)

describe("tools/qotd/deletequote", 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.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("deletequote", function () {
                cy.visit("/cgi-bin/koha/tools/quotes.pl");
                cy.waitForPageLoad();
                cy.get(".delete-quote").click();
                cy.wait_for_ajax();
                cy.get(".modal-dialog").should('be.visible').screenshot("deletequote");
            });
        });
    });
    afterEach(function () {
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

tools/quotes.pl

Interface

staff

Element selector

.modal-dialog

Missing selector

N

setup


        

workflow

click .delete-quote
wait_for_ajax

teardown


    

Notes

Additional KTD data

Test failure

AssertionError: Timed out retrying after 10000ms: Expected to find element: `.delete-quote`, but never found it.
    at Context.eval (webpack://koha/./cypress/integration/tools/qotd/deletequote.ts:18:19)

Thumbnails


Old Thumbnail old

Old

Old screenshot