From 6036e892ff3456b3095028b94aa9580871f7ea1a Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 17 Jun 2023 12:57:07 +0800 Subject: [PATCH] fix(playwright): add async to goto --- tests/playwright/pages/Account/AppStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/pages/Account/AppStore.ts b/tests/playwright/pages/Account/AppStore.ts index 0941de0377..b183c6e1bd 100644 --- a/tests/playwright/pages/Account/AppStore.ts +++ b/tests/playwright/pages/Account/AppStore.ts @@ -10,7 +10,7 @@ export class AccountAppStorePage extends BasePage { this.accountPage = accountPage; } - goto() { + async goto() { return this.waitForResponse({ uiAction: async () => await this.rootPage.goto('/#/account/apps'), httpMethodsToMatch: ['GET'],