From af389a3d39e5779d2bf15742ab44e2418bc219f9 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 28 Jun 2023 13:00:30 +0800 Subject: [PATCH] chore(playwrights): remove waitUntilContentLoads --- tests/playwright/pages/Account/Users.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/playwright/pages/Account/Users.ts b/tests/playwright/pages/Account/Users.ts index 28874f8964..e7743217d5 100644 --- a/tests/playwright/pages/Account/Users.ts +++ b/tests/playwright/pages/Account/Users.ts @@ -18,12 +18,11 @@ export class AccountUsersPage extends BasePage { } async goto() { - await this.waitForResponse({ + return this.waitForResponse({ uiAction: async () => await this.rootPage.goto('/#/account/users/list'), httpMethodsToMatch: ['GET'], requestUrlPathToMatch: `api/v1/users`, }); - return this.waitUntilContentLoads(); } async waitUntilContentLoads() {