forked from verdnatura/salix-front
chore: refs #7197 improve form filling in Cypress tests
This commit is contained in:
parent
6de7696fd1
commit
a0ccb239b1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue