0
0
Fork 0
This commit is contained in:
Alex Moreno 2024-07-15 13:11:24 +02:00
parent ea3effd7f4
commit 39bf7e55c0
1 changed files with 3 additions and 1 deletions

View File

@ -103,7 +103,9 @@ Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => {
cy.get('.q-menu .q-item').contains(val).click(); cy.get('.q-menu .q-item').contains(val).click();
break; break;
case 'date': 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) cy.get(days)
.eq(day ? day - 1 : 0) .eq(day ? day - 1 : 0)
.click(); .click();