From a94e04de00f7f7f56962095e321e76c4b20c1bd3 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Wed, 17 May 2023 18:59:29 +0530 Subject: [PATCH] test: formula corrections for datetime Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/tests/db/timezone.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/playwright/tests/db/timezone.spec.ts b/tests/playwright/tests/db/timezone.spec.ts index c2fad0a050..571ec9846d 100644 --- a/tests/playwright/tests/db/timezone.spec.ts +++ b/tests/playwright/tests/db/timezone.spec.ts @@ -645,11 +645,11 @@ test.describe.serial('External DB - DateTime column', async () => { }); await verifyFormula({ formula: ['DATEADD(DatetimeWithoutTz, 1, "month")', 'DATEADD(DatetimeWithTz, 1, "month")'], - expectedDisplayValue: ['2023-05-28 10:00', '2023-05-28 10:00'], + expectedDisplayValue: ['2023-05-27 10:00', '2023-05-27 10:00'], }); await verifyFormula({ formula: ['DATEADD(DatetimeWithoutTz, 1, "year")', 'DATEADD(DatetimeWithTz, 1, "year")'], - expectedDisplayValue: ['2024-05-28 10:00', '2024-05-28 10:00'], + expectedDisplayValue: ['2024-04-27 10:00', '2024-04-27 10:00'], }); await dashboard.grid.cell.dateTime.setDateTime({