diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index a9a405313..43788f59f 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -140,6 +140,7 @@ Cypress.Commands.add('removeCard', () => { }); Cypress.Commands.add('addCard', () => { cy.waitForElement('tbody'); + cy.waitForElement('.q-page-sticky > div > .q-btn'); cy.get('.q-page-sticky > div > .q-btn').click(); }); Cypress.Commands.add('clickConfirm', () => {