Update billing status wording and increase wait timeout
The commit changes the expected text for billing status in both 'user-billing.spec.ts' and 'team-billing.spec.ts' from 'active' to 'Active'. In addition, the waiting time for the page to return to home in 'billing.po.ts' has been increased from 500ms to 1000ms to improve testing reliability.
This commit is contained in:
@@ -29,7 +29,8 @@ export class BillingPageObject {
|
||||
}
|
||||
|
||||
async returnToHome() {
|
||||
await this.page.waitForTimeout(500);
|
||||
await this.page.waitForTimeout(1000);
|
||||
|
||||
await this.successStatus().locator('button').click();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user