Browse Source

fix(playwright): remove dynamic data in test case

pull/4821/head
Wing-Kam Wong 2 years ago
parent
commit
3671bc941a
  1. 6
      tests/playwright/tests/columnFormula.spec.ts

6
tests/playwright/tests/columnFormula.spec.ts

@ -71,11 +71,11 @@ const formulaDataByDbType = (context: NcContext) => [
result: ['-1', '-1', '-1', '-1', '-1'],
},
{
formula: `DATETIME_DIFF(NOW(), "2023/10/14", "y")`,
formula: `DATETIME_DIFF("2023/01/12", "2023/10/14", "y")`,
result: ['0', '0', '0', '0', '0'],
},
{
formula: `DATETIME_DIFF("2023/10/14", NOW(), "y")`,
formula: `DATETIME_DIFF("2023/10/14", "2023/01/12", "y")`,
result: ['0', '0', '0', '0', '0'],
},
{
@ -95,7 +95,7 @@ const formulaDataByDbType = (context: NcContext) => [
result: ['-365', '-365', '-365', '-365', '-365'],
},
{
formula: `DATETIME_DIFF("2022/10/14", NOW(), "d")`,
formula: `DATETIME_DIFF("2022/10/14", "2023/01/12", "d")`,
result: ['-90', '-90', '-90', '-90', '-90'],
},
{

Loading…
Cancel
Save