diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index 21121d9df..ebf526cff 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -99,7 +99,7 @@ Cypress.Commands.add('countSelectOptions', (selector, option) => { }); Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => { - cy.waitForElement('.q-form > .q-card'); + cy.waitForElement(form); cy.get(`${form} input`).each(([el]) => { cy.wrap(el) .invoke('attr', 'aria-label')