fix: refs #8581 ensure case-insensitive
This commit is contained in:
parent
702f295403
commit
7326d08051
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue