From 1bfa60a4dcb388fb1895826eb84da84c01582f1e Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Thu, 29 Jun 2023 14:55:22 +0530 Subject: [PATCH] test: fix fill handle for time Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/tests/db/verticalFillHandle.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/playwright/tests/db/verticalFillHandle.spec.ts b/tests/playwright/tests/db/verticalFillHandle.spec.ts index 6109cb6660..90f57721f9 100644 --- a/tests/playwright/tests/db/verticalFillHandle.spec.ts +++ b/tests/playwright/tests/db/verticalFillHandle.spec.ts @@ -86,13 +86,13 @@ test.describe('Fill Handle', () => { { title: 'Duration', value: '00:01', type: 'text' }, { title: 'Rating', value: '3', type: 'rating' }, { title: 'Year', value: '2023', type: 'year' }, - // { title: 'Time', value: '10:10', type: 'time' }, + { title: 'Time', value: '02:02', type: 'time' }, ]; // set rating for first record await dashboard.grid.cell.rating.select({ index: 0, columnHeader: 'Rating', rating: 2 }); - await dragDrop({ firstColumn: 'Number', lastColumn: 'Year' }); + await dragDrop({ firstColumn: 'Number', lastColumn: 'Time' }); // verify data on grid for (let i = 0; i < fields.length; i++) { @@ -115,7 +115,7 @@ test.describe('Fill Handle', () => { // verify api response // duration in seconds - const APIResponse = [33, 33.3, 33.3, 33, 60, 3, 2023, '10:10:00']; + const APIResponse = [33, 33.3, 33.3, 33, 60, 3, 2023, '02:02:00']; const updatedRecords = (await api.dbTableRow.list('noco', context.project.id, table.id, { limit: 4 })).list; for (let i = 0; i < updatedRecords.length; i++) { for (let j = 0; j < fields.length; j++) {