Browse Source

chore(test): convert function to async

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5118/head
Pranav C 2 years ago
parent
commit
8a0a9e4370
  1. 2
      tests/playwright/pages/Dashboard/Grid/index.ts

2
tests/playwright/pages/Dashboard/Grid/index.ts

@ -229,7 +229,7 @@ export class GridPage extends BasePage {
async clickPagination({ page }: { page: string }) {
await this.waitForResponse({
uiAction: () => (await this.pagination({ page })).click(),
uiAction: async () => (await this.pagination({ page })).click(),
httpMethodsToMatch: ['GET'],
requestUrlPathToMatch: '/views/',
responseJsonMatcher: resJson => resJson?.pageInfo,

Loading…
Cancel
Save