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:
@@ -1,4 +1,5 @@
|
|||||||
import { expect, Page, test } from '@playwright/test';
|
import { Page, expect, test } from '@playwright/test';
|
||||||
|
|
||||||
import { TeamBillingPageObject } from './team-billing.po';
|
import { TeamBillingPageObject } from './team-billing.po';
|
||||||
|
|
||||||
test.describe('Team Billing', () => {
|
test.describe('Team Billing', () => {
|
||||||
@@ -26,7 +27,7 @@ test.describe('Team Billing', () => {
|
|||||||
|
|
||||||
await po.billing.returnToBilling();
|
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();
|
await expect(po.billing.manageBillingButton()).toBeVisible();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { expect, Page, test } from '@playwright/test';
|
import { Page, expect, test } from '@playwright/test';
|
||||||
|
|
||||||
import { UserBillingPageObject } from './user-billing.po';
|
import { UserBillingPageObject } from './user-billing.po';
|
||||||
|
|
||||||
test.describe('User Billing', () => {
|
test.describe('User Billing', () => {
|
||||||
@@ -25,7 +26,7 @@ test.describe('User Billing', () => {
|
|||||||
|
|
||||||
await po.billing.returnToBilling();
|
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();
|
await expect(po.billing.manageBillingButton()).toBeVisible();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user