Browse Source

feat(testing): Reduced flakyness

pull/3848/head
Muhammed Mustafa 2 years ago
parent
commit
ec18a51172
  1. 5
      scripts/playwright/pages/Dashboard/Grid/index.ts

5
scripts/playwright/pages/Dashboard/Grid/index.ts

@ -162,6 +162,11 @@ export class GridPage extends BasePage {
async clickPagination({ page }: { page: string }) {
(await this.pagination({ page })).click();
await this.rootPage.waitForResponse(async (res) => {
return (await res.json())?.pageInfo;
});
await this.waitLoading();
}

Loading…
Cancel
Save