forked from verdnatura/salix-front
fix: e2e
This commit is contained in:
parent
ea3effd7f4
commit
39bf7e55c0
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue