From a0ccb239b1f8a4a3e5ccdb475dabbfb87afc7e21 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 5 Jul 2024 16:25:49 +0200 Subject: [PATCH] chore: refs #7197 improve form filling in Cypress tests --- test/cypress/support/commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index fbb07daf6..f6ab723a7 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -101,6 +101,7 @@ Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => { case 'select': cy.wrap(el).type(val); cy.get('.q-menu .q-item').contains(val).click(); + cy.get('body').click(); break; case 'date': cy.wrap(el).click();