fix: refs #8581 ensure case-insensitive

This commit is contained in:
Jorge Penadés 2025-02-24 16:26:06 +01:00
parent 702f295403
commit 7326d08051
1 changed files with 2 additions and 1 deletions

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);
});