#8581 invoiceIn e2e #1452

Merged
jorgep merged 153 commits from 8581-invoiceinE2e into dev 2025-03-20 08:58:01 +00:00
1 changed files with 1 additions and 4 deletions
Showing only changes of commit 94eebce445 - Show all commits

View File

@ -173,7 +173,7 @@ Cypress.Commands.add('fillInForm', (obj, opts = {}) => {
const field = obj[key];
if (!field) return;
if (typeof field == 'string')
return cy.wrap(el).type(`{selectall}{backspace}${field}`);
return cy.wrap(el).type(`{selectall}{backspace}${field}, {delay: 0}`);
const { type, val } = field;
switch (type) {
@ -191,9 +191,6 @@ Cypress.Commands.add('fillInForm', (obj, opts = {}) => {
cy.get('.q-time .q-time__clock').contains(val.m).click();
cy.get('.q-time .q-time__link').contains(val.x).click();
break;
default:
cy.wrap(el).type(`{selectall}{backspace}${val}`);
break;
}
});
});