Browse Source

test: reload page after using api calls

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

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

@ -95,6 +95,9 @@ test.describe('Undo Redo', () => {
} catch (e) { } catch (e) {
console.log(e); console.log(e);
} }
// reload page after api calls
await page.reload();
}); });
async function verifyRecords(values: any[] = []) { async function verifyRecords(values: any[] = []) {
@ -444,6 +447,9 @@ test.describe('Undo Redo - 2', () => {
} catch (e) { } catch (e) {
console.log(e); console.log(e);
} }
// reload page after api calls
await page.reload();
}); });
async function verifyRecords(values: any[] = []) { async function verifyRecords(values: any[] = []) {

Loading…
Cancel
Save