diff --git a/tests/playwright/pages/Account/License.ts b/tests/playwright/pages/Account/License.ts index 43e417f733..831567b9c7 100644 --- a/tests/playwright/pages/Account/License.ts +++ b/tests/playwright/pages/Account/License.ts @@ -10,8 +10,11 @@ export class AccountLicensePage extends BasePage { } async goto() { - await this.rootPage.goto(`/#/account/license`); - return this.waitUntilContentLoads(); + return this.waitForResponse({ + uiAction: async () => await this.rootPage.goto('/#/account/license'), + httpMethodsToMatch: ['GET'], + requestUrlPathToMatch: `api/v1/license`, + }); } async waitUntilContentLoads() {