Update e2e tests for user and team billing
Updated end-to-end tests to adjust for changes in user and team billing. Changes include adding await for URL on user-billing.spec.ts and adjusting selectors in billing.po.ts and team-accounts.po.ts. Additionally, we updated test parameters on team-billing.spec.ts.
This commit is contained in:
@@ -31,14 +31,14 @@ export class TeamAccountsPageObject {
|
||||
return this.page.locator('[data-test="account-selector-team"]');
|
||||
}
|
||||
|
||||
async goToSettings() {
|
||||
await this.page.locator('a', {
|
||||
goToSettings() {
|
||||
return this.page.locator('a', {
|
||||
hasText: 'Settings',
|
||||
}).click();
|
||||
}
|
||||
|
||||
async goToBilling() {
|
||||
await this.page.locator('a', {
|
||||
goToBilling() {
|
||||
return this.page.locator('a', {
|
||||
hasText: 'Billing',
|
||||
}).click();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user