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.
This commit is contained in:
giancarlo
2024-04-24 20:17:20 +07:00
parent 2d825b6902
commit cf487b74df
2 changed files with 8 additions and 6 deletions

View File

@@ -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();
});
});
});

View File

@@ -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();
});
});
});