Browse Source

chore(playwrights): remove waitUntilContentLoads

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
af389a3d39
  1. 3
      tests/playwright/pages/Account/Users.ts

3
tests/playwright/pages/Account/Users.ts

@ -18,12 +18,11 @@ export class AccountUsersPage extends BasePage {
} }
async goto() { async goto() {
await this.waitForResponse({ return this.waitForResponse({
uiAction: async () => await this.rootPage.goto('/#/account/users/list'), uiAction: async () => await this.rootPage.goto('/#/account/users/list'),
httpMethodsToMatch: ['GET'], httpMethodsToMatch: ['GET'],
requestUrlPathToMatch: `api/v1/users`, requestUrlPathToMatch: `api/v1/users`,
}); });
return this.waitUntilContentLoads();
} }
async waitUntilContentLoads() { async waitUntilContentLoads() {

Loading…
Cancel
Save