From e1fbe67683ab873c0832f2b8fe8cc168be85e05d 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 216702802567adf67b0768beb6b43ad6b2c62bd8) Signed-off-by: Jacob O'Mara --- 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 8dd209ee8d..3abcf586e7 100644 --- a/t/cypress/integration/ERM/Agreements_spec.ts +++ b/t/cypress/integration/ERM/Agreements_spec.ts @@ -376,6 +376,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.39.2