test: fixed failing web_form UI test
This commit is contained in:
parent
586613d94c
commit
ed86da416f
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ Cypress.Commands.add("get_open_dialog", () => {
|
|||
|
||||
Cypress.Commands.add("save", () => {
|
||||
cy.intercept("/api/method/frappe.desk.form.save.savedocs").as("save_call");
|
||||
cy.get(`button[data-label="Save"]:visible`).click({ scrollBehavior: "top", force: true });
|
||||
cy.get(`.page-container:visible button[data-label="Save"]`).click({ force: true });
|
||||
cy.wait("@save_call");
|
||||
});
|
||||
Cypress.Commands.add("hide_dialog", () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue