Bug 38899: Fix Cypress tests

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 8a5a0ab39e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Jonathan Druart 2025-07-07 10:52:08 +02:00 committed by Paul Derscheid
parent da06ce47c0
commit 5cf94fc396
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
2 changed files with 4 additions and 2 deletions

View File

@ -636,7 +636,7 @@ describe("Data provider tab options", () => {
}
);
cy.get("#files > form > fieldset > input[type=submit]").click();
cy.get("#files > form > fieldset > button").click();
cy.get("main div[class='alert alert-info']").should(
"have.text",

View File

@ -105,7 +105,9 @@ describe("Saved reports", () => {
{ force: true }
);
cy.get("#report_builder .default-report .action input").click();
cy.get("#report_builder .default-report .action button")
.contains("Submit")
.click();
cy.url({ decode: true }).then(url => {
const urlParams = url.split("viewer?")[1].split("data=")[1];