Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestPessimist committed Aug 6, 2019
1 parent 30ea2c3 commit cd99703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/support/commands/action.js
Expand Up @@ -65,11 +65,11 @@ Cypress.Commands.add('executeQuickAction', (actionName, defaultAction = false, m
cy.get(path)
.should('not.have.class', 'quick-actions-item-disabled')
.get(path)
.click({ timeout: 10_000 })
.click({ timeout: 10000 })
.then(el => {
if (isDialogExpected) {
cy.wrap(el)
.get('.panel-modal', { timeout: 10_000 }) // wait up to 10 secs for the modal to appear
.get('.panel-modal', { timeout: 10000 }) // wait up to 10 secs for the modal to appear
.should('exist');
}
});
Expand Down

0 comments on commit cd99703

Please sign in to comment.