test: fixed failing UI test
This commit is contained in:
parent
064ef5a15a
commit
6e3ef3dc3d
1 changed files with 1 additions and 5 deletions
|
|
@ -54,12 +54,8 @@ context("List View", () => {
|
|||
method: "POST",
|
||||
url: "api/method/frappe.model.workflow.bulk_workflow_approval",
|
||||
}).as("bulk-approval");
|
||||
cy.intercept({
|
||||
method: "POST",
|
||||
url: "api/method/frappe.desk.reportview.get",
|
||||
}).as("real-time-update");
|
||||
cy.wrap(elements).contains("Approve").click();
|
||||
cy.wait(["@bulk-approval", "@real-time-update"]);
|
||||
cy.wait("@bulk-approval");
|
||||
cy.wait(300);
|
||||
cy.get_open_dialog().find(".btn-modal-close").click();
|
||||
cy.reload();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue