From 7326d08051393e849df2a05cfd0c0d83918985ca Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 24 Feb 2025 16:26:06 +0100 Subject: [PATCH] fix: refs #8581 ensure case-insensitive --- test/cypress/support/commands.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index 24329e8c7..8ef4b3493 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -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); });