From b910795700cca621110ca35e34d746c14bcd543e Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Mon, 27 Mar 2023 11:31:37 +0530 Subject: [PATCH] test: verify record count in UI for undo operation Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/tests/undo-redo.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/playwright/tests/undo-redo.spec.ts b/tests/playwright/tests/undo-redo.spec.ts index 188b6bee21..137a0955b4 100644 --- a/tests/playwright/tests/undo-redo.spec.ts +++ b/tests/playwright/tests/undo-redo.spec.ts @@ -111,6 +111,9 @@ test.describe('Undo Redo', () => { // verify if expectedValues are same as currentRecords expect(currentRecords.list.map(r => parseInt(r.Number))).toEqual(expectedValues); + + // verify row count + await dashboard.grid.verifyTotalRowCount({ count: expectedValues.length }); } async function undo({ page }: { page: Page }) {