#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 2 additions and 1 deletions
Showing only changes of commit 8a6cd267f9 - Show all commits

View File

@ -480,8 +480,9 @@ Cypress.Commands.add('checkNumber', (text, expectedVal, operation) => {
});
Cypress.Commands.add('checkDate', (rawDate, expectedVal, operation) => {
const date = moment(rawDate.trim(), 'DD/MM/YYYY');
const date = moment(rawDate.trim(), 'MM/DD/YYYY');
Outdated
Review

validateRow

validateRow
const compareDate = moment(expectedVal, 'DD/MM/YYYY');
switch (operation) {
case 'equal':
expect(text.trim()).to.equal(compareDate);