Bug 33066: Fix cypress tests

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Signed-off-by: Agustín Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 0a89bf85e0)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2023-03-17 16:20:27 +01:00 committed by Martin Renvoize
parent 8bb70c155f
commit fd07365543
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 2 additions and 2 deletions

View File

@ -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", () => {