Skip to content

Commit

Permalink
Fixing flaky test.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshi-arora1 committed Oct 19, 2023
1 parent 001209f commit 99906bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('Page - Authoring', function () {
cy.get("[name='./custom']")
.should("exist");

cy.get('.cq-dialog-cancel').should("exist").click({ force: true }).then(() => {
cy.get('.cq-dialog-cancel').should("exist").focus().click({ force: true }).then(() => {
cy.get('.cq-dialog-cancel').should("not.exist").then(() => {
cy.deleteComponentByPath(accordionDrop);
});
Expand Down

0 comments on commit 99906bb

Please sign in to comment.