From 2274ac202564c92e9049335bba79874c488c5320 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=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pedro Amorim Signed-off-by: Agustín Moyano --- t/cypress/integration/Packages_spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/cypress/integration/Packages_spec.ts b/t/cypress/integration/Packages_spec.ts index f5f6be5c4ed..f44cedf96d0 100644 --- a/t/cypress/integration/Packages_spec.ts +++ b/t/cypress/integration/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.25.1