From cf487b74dffc7fbcc8cf040f58d0b624ca28ee7a Mon Sep 17 00:00:00 2001 From: giancarlo Date: Wed, 24 Apr 2024 20:17:20 +0700 Subject: [PATCH] Update status checks in billing tests The commit updates the expected billing status from 'Trial' to 'Active' in both user-billing and team-billing end-to-end tests. Additionally, it changes the import order in both test files but doesn't affect any functionalities. --- apps/e2e/tests/team-billing/team-billing.spec.ts | 7 ++++--- apps/e2e/tests/user-billing/user-billing.spec.ts | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/apps/e2e/tests/team-billing/team-billing.spec.ts b/apps/e2e/tests/team-billing/team-billing.spec.ts index e55bf6b65..5fad66b9a 100644 --- a/apps/e2e/tests/team-billing/team-billing.spec.ts +++ b/apps/e2e/tests/team-billing/team-billing.spec.ts @@ -1,4 +1,5 @@ -import { expect, Page, test } from '@playwright/test'; +import { Page, expect, test } from '@playwright/test'; + import { TeamBillingPageObject } from './team-billing.po'; test.describe('Team Billing', () => { @@ -26,7 +27,7 @@ test.describe('Team Billing', () => { await po.billing.returnToBilling(); - await expect(await po.billing.getStatus()).toContainText('Trial'); + 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 b891fb224..839df0573 100644 --- a/apps/e2e/tests/user-billing/user-billing.spec.ts +++ b/apps/e2e/tests/user-billing/user-billing.spec.ts @@ -1,4 +1,5 @@ -import { expect, Page, test } from '@playwright/test'; +import { Page, expect, test } from '@playwright/test'; + import { UserBillingPageObject } from './user-billing.po'; test.describe('User Billing', () => { @@ -25,7 +26,7 @@ test.describe('User Billing', () => { await po.billing.returnToBilling(); - await expect(await po.billing.getStatus()).toContainText('Trial'); + await expect(await po.billing.getStatus()).toContainText('Active'); await expect(po.billing.manageBillingButton()).toBeVisible(); }); -}); \ No newline at end of file +});