From 39bf7e55c08560a122a639643139e25af695c1c8 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 15 Jul 2024 13:11:24 +0200 Subject: [PATCH] fix: e2e --- test/cypress/support/commands.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index 38a23f71c..8708ac064 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -103,7 +103,9 @@ Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => { cy.get('.q-menu .q-item').contains(val).click(); break; case 'date': - cy.wrap(el).click(); + cy.get( + '[label="Birth"] > .q-field > .q-field__inner > .q-field__control > .q-field__append > .q-icon' + ).click(); cy.get(days) .eq(day ? day - 1 : 0) .click();