|
|
@ -10,14 +10,11 @@ export class AccountLicensePage extends BasePage { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async goto() { |
|
|
|
async goto() { |
|
|
|
return this.waitForResponse({ |
|
|
|
await this.rootPage.goto(`/#/account/license`); |
|
|
|
uiAction: async () => await this.rootPage.goto('/#/account/license'), |
|
|
|
await this.waitUntilContentLoads(); |
|
|
|
httpMethodsToMatch: ['GET'], |
|
|
|
|
|
|
|
requestUrlPathToMatch: 'api/v1/license', |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
waitUntilContentLoads() { |
|
|
|
async waitUntilContentLoads() { |
|
|
|
return this.rootPage.waitForResponse(resp => resp.url().includes('api/v1/license') && resp.status() === 200); |
|
|
|
return this.rootPage.waitForResponse(resp => resp.url().includes('api/v1/license') && resp.status() === 200); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|