From fd07365543d2d15ed92fc2c94dab9ebf65a0e203 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 17 Mar 2023 16:20:27 +0100 Subject: [PATCH] Bug 33066: Fix cypress tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Pedro Amorim Signed-off-by: Agustín Moyano Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 0a89bf85e0e961819d724171a6a9f201a089da68) Signed-off-by: Martin Renvoize --- t/cypress/integration/ERM/Packages_spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/cypress/integration/ERM/Packages_spec.ts b/t/cypress/integration/ERM/Packages_spec.ts index f5f6be5c4e..f44cedf96d 100644 --- a/t/cypress/integration/ERM/Packages_spec.ts +++ b/t/cypress/integration/ERM/Packages_spec.ts @@ -235,7 +235,7 @@ describe("Package CRUD operations", () => { ); // There are no resources, the table should not be displayed cy.contains("Titles (0)"); - cy.get("#table#title_list").should("not.exist"); + cy.get("#title_list_result table").should("not.exist"); // List resources cy.intercept("GET", "/api/v1/erm/eholdings/local/packages/*", { @@ -269,7 +269,7 @@ describe("Package CRUD operations", () => { cy.contains("Titles (1)"); cy.wait("@get-resource"); cy.wait(500); - cy.get("table#title_list").contains("A great title"); + cy.get("#title_list_result table").contains("A great title"); }); it("Delete package", () => { -- 2.39.2