Browse Source

test: verify record count in UI for undo operation

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5332/head
Raju Udava 2 years ago committed by mertmit
parent
commit
b910795700
  1. 3
      tests/playwright/tests/undo-redo.spec.ts

3
tests/playwright/tests/undo-redo.spec.ts

@ -111,6 +111,9 @@ test.describe('Undo Redo', () => {
// verify if expectedValues are same as currentRecords // verify if expectedValues are same as currentRecords
expect(currentRecords.list.map(r => parseInt(r.Number))).toEqual(expectedValues); 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 }) { async function undo({ page }: { page: Page }) {

Loading…
Cancel
Save