We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf28f9c commit a1b9340Copy full SHA for a1b9340
1 file changed
packages/testsuite/cypress/support/form-editing.ts
@@ -17,7 +17,8 @@ Cypress.Commands.add("cancelForm", (formId) => {
17
18
Cypress.Commands.add("resetForm", (formId, managementApi, address) => {
19
const resetButton = "#" + formId + ' a.clickable[data-operation="reset"';
20
- cy.get(resetButton).click();
+ // the parameter "{ force: true }" is workaround for tests triggered in backgroud. For e2e testing is not required.
21
+ cy.get(resetButton).click({ force: true });
22
cy.get("body").then(($body) => {
23
if ($body.find(".modal-footer .btn-hal.btn-primary").length) {
24
cy.get(".modal-footer .btn-hal.btn-primary").click({ force: true });
0 commit comments