Browse Source

test: skip including time in date column

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5185/head
Raju Udava 2 years ago
parent
commit
5583c60804
  1. 2
      tests/playwright/setup/xcdb-records.ts

2
tests/playwright/setup/xcdb-records.ts

@ -124,7 +124,7 @@ const rowMixedValue = (column: ColumnType, index: number) => {
// eslint-disable-next-line no-case-declarations // eslint-disable-next-line no-case-declarations
const result = new Date(); const result = new Date();
result.setDate(result.getDate() - 400 + index); result.setDate(result.getDate() - 400 + index);
return result; return result.toISOString().slice(0, 10);
case UITypes.URL: case UITypes.URL:
return urls[index % urls.length]; return urls[index % urls.length];
case UITypes.SingleSelect: case UITypes.SingleSelect:

Loading…
Cancel
Save