From d321dc6934d960ff38b2dbeed10c65cb04d485e9 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 13 Sep 2024 13:25:15 +0000 Subject: [PATCH] Bug 35402: Fix cypress test csrf.ts The tests were failing because of the class having changed from message to alert. Signed-off-by: Katrin Fischer --- t/cypress/integration/Auth/csrf.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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( -- 2.39.5