View | Details | Raw Unified | Return to bug 33370
Collapse All | Expand All

(-)a/t/cypress/integration/Agreements_spec.ts (-1 / +4 lines)
Lines 125-130 describe("Agreement CRUD operations", () => { Link Here
125
    beforeEach(() => {
125
    beforeEach(() => {
126
        cy.login();
126
        cy.login();
127
        cy.title().should("eq", "Koha staff interface");
127
        cy.title().should("eq", "Koha staff interface");
128
129
        cy.intercept("GET", "/api/v1/authorised_value_categories*").as("avs");
130
        cy.intercept("GET", "/api/v1/acquisitions/vendors*").as("vendors");
128
    });
131
    });
129
132
130
    after(() => {
133
    after(() => {
Lines 178-183 describe("Agreement CRUD operations", () => { Link Here
178
181
179
        // Click the button in the toolbar
182
        // Click the button in the toolbar
180
        cy.visit("/cgi-bin/koha/erm/agreements");
183
        cy.visit("/cgi-bin/koha/erm/agreements");
184
        cy.wait(["@avs", "@vendors"]);
181
        cy.contains("New agreement").click();
185
        cy.contains("New agreement").click();
182
        cy.get("#agreements_add h2").contains("New agreement");
186
        cy.get("#agreements_add h2").contains("New agreement");
183
187
184
- 

Return to bug 33370