Skip to content

Commit 7815f18

Browse files
committed
change the text of the test definitions
1 parent 84a3d17 commit 7815f18

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Frontend/test/specs/configuration/viewing-license.spec.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { licenseTabList, licenseTabNames } from "./questions/licenseTabs";
1111

1212
describe("FEATURE: License", () => {
1313
describe("RULE: Platform license type should be shown shown", () => {
14-
test("EXAMPLE: Valid platform license type should be shown", async ({ driver }) => {
14+
test("EXAMPLE: Valid platform license type is shown", async ({ driver }) => {
1515
await driver.setUp(precondition.serviceControlWithMonitoring);
1616
await driver.setUp(precondition.hasActiveLicense);
1717
await driver.goTo("/configuration/license");
@@ -22,7 +22,7 @@ describe("FEATURE: License", () => {
2222
});
2323

2424
describe("RULE: License expiry date should be shown", () => {
25-
test("EXAMPLE: Valid license expiry date should be shown", async ({ driver }) => {
25+
test("EXAMPLE: Valid license expiry date is shown", async ({ driver }) => {
2626
await driver.setUp(precondition.serviceControlWithMonitoring);
2727
await driver.setUp(precondition.hasActiveLicense);
2828
await driver.goTo("/configuration/license");
@@ -33,15 +33,15 @@ describe("FEATURE: License", () => {
3333
});
3434

3535
describe("RULE: License expired", () => {
36-
test("EXAMPLE: An expired license should show 'expired'", async ({ driver }) => {
36+
test("EXAMPLE: An expired license shows 'expired'", async ({ driver }) => {
3737
await driver.setUp(precondition.serviceControlWithMonitoring);
3838
await driver.setUp(precondition.hasExpiredLicense(LicenseType.Subscription, 5)); //license expired 6 days before
3939
await driver.goTo("/configuration/license");
4040
await waitFor(async () => {
4141
expect(await licenseExpired()).toBe("Your license expired. Please update the license to continue using the Particular Service Platform.");
4242
});
4343
});
44-
test("EXAMPLE: An expired license should show only the license and usage setup tabs", async ({ driver }) => {
44+
test("EXAMPLE: An expired license shows only the license and usage setup tabs", async ({ driver }) => {
4545
await driver.setUp(precondition.serviceControlWithMonitoring);
4646
await driver.setUp(precondition.hasExpiredLicense(LicenseType.Subscription, 5)); //license expired 6 days before
4747
await driver.goTo("/configuration/license");
@@ -53,7 +53,7 @@ describe("FEATURE: License", () => {
5353
});
5454

5555
describe("RULE: License expiring soon must be displayed", () => {
56-
test("EXAMPLE: License expiring with x days should show 'expiring in X days'", async ({ driver }) => {
56+
test("EXAMPLE: License expiring with x days shows 'expiring in X days'", async ({ driver }) => {
5757
await driver.setUp(precondition.serviceControlWithMonitoring);
5858
await driver.setUp(precondition.hasExpiringLicense(LicenseType.Subscription, 10));
5959
await driver.goTo("/configuration/license");
@@ -62,7 +62,7 @@ describe("FEATURE: License", () => {
6262
expect((await licenseExpiryDaysLeft()).textContent).toContain("expiring in"); //License expiry date: 2/5/2025 - expiring in 11 days
6363
});
6464
});
65-
test("EXAMPLE: License expiring tomorrow should show 'expiring tomorrow'", async ({ driver }) => {
65+
test("EXAMPLE: License expiring tomorrow shows 'expiring tomorrow'", async ({ driver }) => {
6666
await driver.setUp(precondition.serviceControlWithMonitoring);
6767
await driver.setUp(precondition.hasExpiringLicense(LicenseType.Subscription, 0));
6868
await driver.goTo("/configuration/license");
@@ -71,7 +71,7 @@ describe("FEATURE: License", () => {
7171
expect((await licenseExpiryDaysLeft()).textContent).toContain("expiring tomorrow");
7272
});
7373
});
74-
test("EXAMPLE: License expiring today should show 'expiring today'", async ({ driver }) => {
74+
test("EXAMPLE: License expiring today shows 'expiring today'", async ({ driver }) => {
7575
await driver.setUp(precondition.serviceControlWithMonitoring);
7676
await driver.setUp(precondition.hasExpiringLicense(LicenseType.Subscription, -1));
7777
await driver.goTo("/configuration/license");
@@ -83,7 +83,7 @@ describe("FEATURE: License", () => {
8383
});
8484

8585
describe("RULE: Upgrade Protection license expiring soon must be displayed", () => {
86-
test("EXAMPLE: Upgrade Protection license expiring with x days should show 'X days left'", async ({ driver }) => {
86+
test("EXAMPLE: Upgrade Protection license expiring with x days shows 'X days left'", async ({ driver }) => {
8787
await driver.setUp(precondition.serviceControlWithMonitoring);
8888
await driver.setUp(precondition.hasExpiringLicense(LicenseType.UpgradeProtection, 10));
8989
await driver.goTo("/configuration/license");
@@ -92,7 +92,7 @@ describe("FEATURE: License", () => {
9292
expect((await licenseExpiryDaysLeft()).textContent).toContain("days left"); //License expiry date: 2/5/2025 - expiring in 11 days
9393
});
9494
});
95-
test("EXAMPLE: Upgrade Protection license expiring tomorrow should show 'expiring tomorrow'", async ({ driver }) => {
95+
test("EXAMPLE: Upgrade Protection license expiring tomorrow shows 'expiring tomorrow'", async ({ driver }) => {
9696
await driver.setUp(precondition.serviceControlWithMonitoring);
9797
await driver.setUp(precondition.hasExpiringLicense(LicenseType.UpgradeProtection, 0));
9898
await driver.goTo("/configuration/license");
@@ -101,7 +101,7 @@ describe("FEATURE: License", () => {
101101
expect((await licenseExpiryDaysLeft()).textContent).toContain("1 day left");
102102
});
103103
});
104-
test("EXAMPLE: Upgrade Protection license expiring today should show 'expired'", async ({ driver }) => {
104+
test("EXAMPLE: Upgrade Protection license expiring today shows 'expired'", async ({ driver }) => {
105105
await driver.setUp(precondition.serviceControlWithMonitoring);
106106
await driver.setUp(precondition.hasExpiringLicense(LicenseType.UpgradeProtection, -1));
107107
await driver.goTo("/configuration/license");

0 commit comments

Comments
 (0)