8282-testToMaster #1057

Merged
alexm merged 215 commits from 8282-testToMaster into master 2024-12-10 06:23:36 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit b068515f55 - Show all commits

View File

@ -110,14 +110,14 @@ Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => {
const { type, val } = field;
switch (type) {
case 'select':
cy.wrap(el).type(val);
cy.get(el).click();
cy.get('.q-menu .q-item').contains(val).click();
break;
case 'date':
cy.wrap(el).type(val.split('-').join(''));
cy.get(el).type(val.split('-').join(''));
break;
case 'time':
cy.wrap(el).click();
cy.get(el).click();
cy.get('.q-time .q-time__clock').contains(val.h).click();
cy.get('.q-time .q-time__clock').contains(val.m).click();
cy.get('.q-time .q-time__link').contains(val.x).click();