#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 7326d08051 - Show all commits
test/cypress/support

View File

@ -454,7 +454,8 @@ Cypress.Commands.add('validateVnTableRows', (opts = {}) => {
.find(`[data-cy="vnTableCell_${name}"]`)
.invoke('text')
.then((text) => {
if (type === 'string') expect(text.trim()).to.equal(val);
if (type === 'string')
expect(text.trim().toLowerCase()).to.equal(val.toLowerCase());
if (type === 'number') cy.checkNumber(text, val, operation);
if (type === 'date') cy.checkDate(text, val, operation);
});