Browse Source

test: formula case insensitive

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5682/head
Raju Udava 1 year ago
parent
commit
80702eac01
  1. 14
      tests/playwright/tests/db/columnFormula.spec.ts

14
tests/playwright/tests/db/columnFormula.spec.ts

@ -134,6 +134,20 @@ const formulaDataByDbType = (context: NcContext) => [
formula: `IF((SEARCH({Address List}, "Parkway") != 0), "2.0","WRONG")`,
result: ['WRONG', 'WRONG', 'WRONG', '2.0', '2.0'],
},
// additional tests for formula case-insensitivity
{
formula: `weekday("2022-07-19")`,
result: ['1', '1', '1', '1', '1'],
},
{
formula: `Weekday("2022-07-19")`,
result: ['1', '1', '1', '1', '1'],
},
{
formula: `WeekDay("2022-07-19")`,
result: ['1', '1', '1', '1', '1'],
},
];
test.describe('Virtual Columns', () => {

Loading…
Cancel
Save