Skip to content

Commit 9cca3ac

Browse files
committed
fix reset form method when is try to click on the reset button
1 parent bf28f9c commit 9cca3ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/testsuite/cypress/support/form-editing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Cypress.Commands.add("cancelForm", (formId) => {
1717

1818
Cypress.Commands.add("resetForm", (formId, managementApi, address) => {
1919
const resetButton = "#" + formId + ' a.clickable[data-operation="reset"';
20-
cy.get(resetButton).click();
20+
cy.get(resetButton).click({ force: true });
2121
cy.get("body").then(($body) => {
2222
if ($body.find(".modal-footer .btn-hal.btn-primary").length) {
2323
cy.get(".modal-footer .btn-hal.btn-primary").click({ force: true });

0 commit comments

Comments
 (0)