diff --git a/src/Frontend/test/specs/configuration/viewing-license.spec.ts b/src/Frontend/test/specs/configuration/viewing-license.spec.ts index 30283c256..771ae7ddb 100644 --- a/src/Frontend/test/specs/configuration/viewing-license.spec.ts +++ b/src/Frontend/test/specs/configuration/viewing-license.spec.ts @@ -11,7 +11,7 @@ import { licenseTabList, licenseTabNames } from "./questions/licenseTabs"; describe("FEATURE: License", () => { describe("RULE: Platform license type should be shown shown", () => { - test("EXAMPLE: Valid platform license type should be shown", async ({ driver }) => { + test("EXAMPLE: Valid platform license type is shown", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasActiveLicense); await driver.goTo("/configuration/license"); @@ -22,7 +22,7 @@ describe("FEATURE: License", () => { }); describe("RULE: License expiry date should be shown", () => { - test("EXAMPLE: Valid license expiry date should be shown", async ({ driver }) => { + test("EXAMPLE: Valid license expiry date is shown", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasActiveLicense); await driver.goTo("/configuration/license"); @@ -33,7 +33,7 @@ describe("FEATURE: License", () => { }); describe("RULE: License expired", () => { - test("EXAMPLE: An expired license should show 'expired'", async ({ driver }) => { + test("EXAMPLE: An expired license shows 'expired'", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasExpiredLicense(LicenseType.Subscription, 5)); //license expired 6 days before await driver.goTo("/configuration/license"); @@ -41,7 +41,7 @@ describe("FEATURE: License", () => { expect(await licenseExpired()).toBe("Your license expired. Please update the license to continue using the Particular Service Platform."); }); }); - test("EXAMPLE: An expired license should show only the license and usage setup tabs", async ({ driver }) => { + test("EXAMPLE: An expired license shows only the license and usage setup tabs", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasExpiredLicense(LicenseType.Subscription, 5)); //license expired 6 days before await driver.goTo("/configuration/license"); @@ -53,7 +53,7 @@ describe("FEATURE: License", () => { }); describe("RULE: License expiring soon must be displayed", () => { - test("EXAMPLE: License expiring with x days should show 'expiring in X days'", async ({ driver }) => { + test("EXAMPLE: License expiring with x days shows 'expiring in X days'", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasExpiringLicense(LicenseType.Subscription, 10)); await driver.goTo("/configuration/license"); @@ -62,7 +62,7 @@ describe("FEATURE: License", () => { expect((await licenseExpiryDaysLeft()).textContent).toContain("expiring in"); //License expiry date: 2/5/2025 - expiring in 11 days }); }); - test("EXAMPLE: License expiring tomorrow should show 'expiring tomorrow'", async ({ driver }) => { + test("EXAMPLE: License expiring tomorrow shows 'expiring tomorrow'", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasExpiringLicense(LicenseType.Subscription, 0)); await driver.goTo("/configuration/license"); @@ -71,7 +71,7 @@ describe("FEATURE: License", () => { expect((await licenseExpiryDaysLeft()).textContent).toContain("expiring tomorrow"); }); }); - test("EXAMPLE: License expiring today should show 'expiring today'", async ({ driver }) => { + test("EXAMPLE: License expiring today shows 'expiring today'", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasExpiringLicense(LicenseType.Subscription, -1)); await driver.goTo("/configuration/license"); @@ -83,7 +83,7 @@ describe("FEATURE: License", () => { }); describe("RULE: Upgrade Protection license expiring soon must be displayed", () => { - test("EXAMPLE: Upgrade Protection license expiring with x days should show 'X days left'", async ({ driver }) => { + test("EXAMPLE: Upgrade Protection license expiring with x days shows 'X days left'", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasExpiringLicense(LicenseType.UpgradeProtection, 10)); await driver.goTo("/configuration/license"); @@ -92,7 +92,7 @@ describe("FEATURE: License", () => { expect((await licenseExpiryDaysLeft()).textContent).toContain("days left"); //License expiry date: 2/5/2025 - expiring in 11 days }); }); - test("EXAMPLE: Upgrade Protection license expiring tomorrow should show 'expiring tomorrow'", async ({ driver }) => { + test("EXAMPLE: Upgrade Protection license expiring tomorrow shows 'expiring tomorrow'", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasExpiringLicense(LicenseType.UpgradeProtection, 0)); await driver.goTo("/configuration/license"); @@ -101,7 +101,7 @@ describe("FEATURE: License", () => { expect((await licenseExpiryDaysLeft()).textContent).toContain("1 day left"); }); }); - test("EXAMPLE: Upgrade Protection license expiring today should show 'expired'", async ({ driver }) => { + test("EXAMPLE: Upgrade Protection license expiring today shows 'expired'", async ({ driver }) => { await driver.setUp(precondition.serviceControlWithMonitoring); await driver.setUp(precondition.hasExpiringLicense(LicenseType.UpgradeProtection, -1)); await driver.goTo("/configuration/license");