From b5c6b6a085b4223cc1d242a23a9cfa705a2d191c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 5 Apr 2023 10:29:01 +0200 Subject: [PATCH] Bug 33416: Fix Agreements.ts --- t/cypress/integration/ERM/Agreements_spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/t/cypress/integration/ERM/Agreements_spec.ts b/t/cypress/integration/ERM/Agreements_spec.ts index cd7689c31e2..52f3a370cec 100644 --- a/t/cypress/integration/ERM/Agreements_spec.ts +++ b/t/cypress/integration/ERM/Agreements_spec.ts @@ -369,6 +369,7 @@ describe("Agreement CRUD operations", () => { }, }).as("get-single-agreement-search-result"); cy.visit("/cgi-bin/koha/erm/agreements"); + cy.wait("@get-single-agreement-search-result"); // Intercept request after edit click cy.intercept("GET", "/api/v1/erm/agreements/*", agreement).as( -- 2.30.2