File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,16 @@ test("setup deployment", async ({ page }) => {
28
28
await page . getByTestId ( "button-select-template" ) . isVisible ( ) ;
29
29
30
30
// Setup license
31
- if ( constants . requireEnterpriseTests || constants . enterpriseLicense ) {
31
+ if ( constants . requirePremiumTests || constants . license ) {
32
32
// Make sure that we have something that looks like a real license
33
- expect ( constants . enterpriseLicense ) . toBeTruthy ( ) ;
34
- expect ( constants . enterpriseLicense . length ) . toBeGreaterThan ( 92 ) ; // the signature alone should be this long
35
- expect ( constants . enterpriseLicense . split ( "." ) . length ) . toBe ( 3 ) ; // otherwise it's invalid
33
+ expect ( constants . license ) . toBeTruthy ( ) ;
34
+ expect ( constants . license . length ) . toBeGreaterThan ( 92 ) ; // the signature alone should be this long
35
+ expect ( constants . license . split ( "." ) . length ) . toBe ( 3 ) ; // otherwise it's invalid
36
36
37
37
await page . goto ( "/deployment/licenses" , { waitUntil : "domcontentloaded" } ) ;
38
38
39
39
await page . getByText ( "Add a license" ) . click ( ) ;
40
- await page . getByRole ( "textbox" ) . fill ( constants . enterpriseLicense ) ;
40
+ await page . getByRole ( "textbox" ) . fill ( constants . license ) ;
41
41
await page . getByText ( "Upload License" ) . click ( ) ;
42
42
43
43
await expect (
You can’t perform that action at this time.
0 commit comments