Add end-to-end tests for user and team billing features
This commit introduces end-to-end tests for the user and team billing features. It also enhances existing billing configurations, logging, and error handling mechanisms. Refactoring has been done to simplify the code and make it more readable. Adjustments have also been made in the visual aspects of some components. The addition of these tests will help ensure the reliability of the billing features.
This commit is contained in:
@@ -37,6 +37,12 @@ export class TeamAccountsPageObject {
|
||||
}).click();
|
||||
}
|
||||
|
||||
async goToBilling() {
|
||||
await this.page.locator('a', {
|
||||
hasText: 'Billing',
|
||||
}).click();
|
||||
}
|
||||
|
||||
async openAccountsSelector() {
|
||||
await this.page.click('[data-test="account-selector-trigger"]');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user