@@ -55,7 +55,7 @@ describe("FEATURE: License", () => {
55
55
describe ( "RULE: License expiring soon must be displayed" , ( ) => {
56
56
test ( "EXAMPLE: License expiring in 11 days" , async ( { driver } ) => {
57
57
await driver . setUp ( precondition . serviceControlWithMonitoring ) ;
58
- await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . Subscription , 10 ) ) ;
58
+ await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . Subscription , 11 ) ) ;
59
59
await driver . goTo ( "/configuration/license" ) ;
60
60
await waitFor ( async ( ) => {
61
61
expect ( await licenseExpiryDaysLeft ( ) ) . toBeVisible ( ) ;
@@ -64,7 +64,7 @@ describe("FEATURE: License", () => {
64
64
} ) ;
65
65
test ( "EXAMPLE: License expiring tomorrow" , async ( { driver } ) => {
66
66
await driver . setUp ( precondition . serviceControlWithMonitoring ) ;
67
- await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . Subscription , 0 ) ) ;
67
+ await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . Subscription , 1 ) ) ;
68
68
await driver . goTo ( "/configuration/license" ) ;
69
69
await waitFor ( async ( ) => {
70
70
expect ( await licenseExpiryDaysLeft ( ) ) . toBeVisible ( ) ;
@@ -73,7 +73,7 @@ describe("FEATURE: License", () => {
73
73
} ) ;
74
74
test ( "EXAMPLE: License expiring today" , async ( { driver } ) => {
75
75
await driver . setUp ( precondition . serviceControlWithMonitoring ) ;
76
- await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . Subscription , - 1 ) ) ;
76
+ await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . Subscription , 0 ) ) ;
77
77
await driver . goTo ( "/configuration/license" ) ;
78
78
await waitFor ( async ( ) => {
79
79
expect ( await licenseExpiryDaysLeft ( ) ) . toBeVisible ( ) ;
@@ -85,7 +85,7 @@ describe("FEATURE: License", () => {
85
85
describe ( "RULE: Upgrade Protection license expiring soon must be displayed with a reference to how much time is left and a warning:'Once upgrade protection expires, you'll no longer have access to support or new product versions. '" , ( ) => {
86
86
test ( "EXAMPLE: Upgrade Protection license expiring in 11 days" , async ( { driver } ) => {
87
87
await driver . setUp ( precondition . serviceControlWithMonitoring ) ;
88
- await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . UpgradeProtection , 10 ) ) ;
88
+ await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . UpgradeProtection , 11 ) ) ;
89
89
await driver . goTo ( "/configuration/license" ) ;
90
90
await waitFor ( async ( ) => {
91
91
expect ( await licenseExpiryDaysLeft ( ) ) . toBeVisible ( ) ;
@@ -94,7 +94,7 @@ describe("FEATURE: License", () => {
94
94
} ) ;
95
95
test ( "EXAMPLE: Upgrade Protection license expiring tomorrow" , async ( { driver } ) => {
96
96
await driver . setUp ( precondition . serviceControlWithMonitoring ) ;
97
- await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . UpgradeProtection , 0 ) ) ;
97
+ await driver . setUp ( precondition . hasExpiringLicense ( LicenseType . UpgradeProtection , 1 ) ) ;
98
98
await driver . goTo ( "/configuration/license" ) ;
99
99
await waitFor ( async ( ) => {
100
100
expect ( await licenseExpiryDaysLeft ( ) ) . toBeVisible ( ) ;
0 commit comments