diff --git a/apps/e2e/tests/team-billing/team-billing.spec.ts b/apps/e2e/tests/team-billing/team-billing.spec.ts index 0fa7a7944..988503d5a 100644 --- a/apps/e2e/tests/team-billing/team-billing.spec.ts +++ b/apps/e2e/tests/team-billing/team-billing.spec.ts @@ -26,7 +26,7 @@ test.describe('Team Billing', () => { await po.teamAccounts.goToBilling(); - await expect(await po.billing.getStatus()).toContainText('active'); + await expect(await po.billing.getStatus()).toContainText('Active'); await expect(po.billing.manageBillingButton()).toBeVisible(); }); }); \ No newline at end of file diff --git a/apps/e2e/tests/user-billing/user-billing.spec.ts b/apps/e2e/tests/user-billing/user-billing.spec.ts index 0d818ac19..4c62c5b5e 100644 --- a/apps/e2e/tests/user-billing/user-billing.spec.ts +++ b/apps/e2e/tests/user-billing/user-billing.spec.ts @@ -26,7 +26,7 @@ test.describe('User Billing', () => { hasText: 'Billing', }).click(); - await expect(await po.billing.getStatus()).toContainText('active'); + await expect(await po.billing.getStatus()).toContainText('Active'); await expect(po.billing.manageBillingButton()).toBeVisible(); }); }); \ No newline at end of file diff --git a/apps/e2e/tests/utils/billing.po.ts b/apps/e2e/tests/utils/billing.po.ts index f657f3a71..3612f4f88 100644 --- a/apps/e2e/tests/utils/billing.po.ts +++ b/apps/e2e/tests/utils/billing.po.ts @@ -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(); }