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 <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-09-13 13:25:15 +00:00
parent c038bbfd0b
commit d321dc6934
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 2 additions and 2 deletions

View File

@ -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(