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:
parent
c038bbfd0b
commit
d321dc6934
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue