From 2fd1c9a3d30294e42aa4f708c62ad18485660d4e Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Fri, 24 Mar 2023 18:56:21 +0530 Subject: [PATCH] test: reload page after using api calls Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/tests/undo-redo.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/playwright/tests/undo-redo.spec.ts b/tests/playwright/tests/undo-redo.spec.ts index 7eeee5fda8..188b6bee21 100644 --- a/tests/playwright/tests/undo-redo.spec.ts +++ b/tests/playwright/tests/undo-redo.spec.ts @@ -95,6 +95,9 @@ test.describe('Undo Redo', () => { } catch (e) { console.log(e); } + + // reload page after api calls + await page.reload(); }); async function verifyRecords(values: any[] = []) { @@ -444,6 +447,9 @@ test.describe('Undo Redo - 2', () => { } catch (e) { console.log(e); } + + // reload page after api calls + await page.reload(); }); async function verifyRecords(values: any[] = []) {