diff --git a/t/cypress/integration/Auth/csrf.ts b/t/cypress/integration/Auth/csrf.ts index a8ec6c6f58..c17763090b 100644 --- a/t/cypress/integration/Auth/csrf.ts +++ b/t/cypress/integration/Auth/csrf.ts @@ -106,7 +106,7 @@ describe("CSRF", () => { cy.get("#Aform").contains("Submit").click(); cy.get(".main") - .find(".message") + .find(".alert") .contains(/Library added successfully/); cy.get("select[name='libraries_length']").select("-1"); @@ -162,7 +162,7 @@ describe("CSRF", () => { cy.contains("Yes, delete").click(); cy.get(".main") - .find(".message") + .find(".alert") .contains(/Library deleted successfully/); cy.query(