From 1d50b042e88bb7d9d515d0014e08776d6417fc9a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 1 Sep 2023 15:18:08 +0200 Subject: [PATCH] Bug 34690: Make the test fail consistently Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi Edit: I amended the commit title --- t/cypress/integration/ERM/Dialog_spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/t/cypress/integration/ERM/Dialog_spec.ts b/t/cypress/integration/ERM/Dialog_spec.ts index d09fe8ce100..88fb877e24d 100644 --- a/t/cypress/integration/ERM/Dialog_spec.ts +++ b/t/cypress/integration/ERM/Dialog_spec.ts @@ -84,6 +84,7 @@ describe("Dialog operations", () => { }); cy.get("#packages_add").contains("Submit").click(); cy.get("main div[class='dialog message']").contains("Package created"); + cy.get("#package_list_result").should("exist"); cy.get("main div[class='dialog message']").should("have.length", 1); cy.intercept("GET", "/api/v1/erm/eholdings/local/titles*", { -- 2.42.0