File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ context("Menus Module", () => {
54
54
. findByText ( "Save menu" )
55
55
. click ( )
56
56
. findByText ( "Record saved successfully." )
57
- . visit ( Cypress . env ( "SITE_URL " ) )
57
+ . visit ( Cypress . env ( "WEBSITE_URL " ) )
58
58
. reloadUntil ( ( ) => {
59
59
// We wait until the document contains the newly added menu.
60
60
return Cypress . $ ( `:contains(${ id } )` ) . length ;
@@ -97,7 +97,7 @@ context("Menus Module", () => {
97
97
. findByText ( "Save menu" )
98
98
. click ( )
99
99
. findByText ( "Record saved successfully." )
100
- . visit ( Cypress . env ( "SITE_URL " ) )
100
+ . visit ( Cypress . env ( "WEBSITE_URL " ) )
101
101
. reloadUntil ( ( ) => {
102
102
// We wait until the document contains the newly added menu.
103
103
return Cypress . $ ( `:contains(${ idEdited } )` ) . length ;
@@ -129,7 +129,7 @@ context("Menus Module", () => {
129
129
cy . findByText ( "Save menu" )
130
130
. click ( )
131
131
. findByText ( "Record saved successfully." )
132
- . visit ( Cypress . env ( "SITE_URL " ) )
132
+ . visit ( Cypress . env ( "WEBSITE_URL " ) )
133
133
. reloadUntil ( ( ) => {
134
134
// We wait until the document contains the newly added menu.
135
135
return Cypress . $ ( `:contains(${ idEdited } )` ) . length === 0 ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ context("Page Builder Settings", () => {
14
14
. click ( )
15
15
. findByText ( "Settings updated successfully." ) ;
16
16
17
- cy . visit ( Cypress . env ( "SITE_URL " ) )
17
+ cy . visit ( Cypress . env ( "WEBSITE_URL " ) )
18
18
. reloadUntil ( ( ) => {
19
19
// We wait until the document contains the newly added menu.
20
20
return Cypress . $ ( `:contains(New-site-name-${ id } )` ) . length ;
@@ -42,7 +42,7 @@ context("Page Builder Settings", () => {
42
42
. click ( )
43
43
. findByText ( "Settings updated successfully." ) ;
44
44
45
- cy . visit ( Cypress . env ( "SITE_URL " ) )
45
+ cy . visit ( Cypress . env ( "WEBSITE_URL " ) )
46
46
. reloadUntil ( ( ) => {
47
47
// We wait until the document contains the newly added menu.
48
48
return Cypress . $ ( `a[href="${ facebook } "]` ) . length ;
Original file line number Diff line number Diff line change 11
11
context ( "Admin Installation" , ( ) => {
12
12
it ( "should be able to complete the initial installation wizard" , ( ) => {
13
13
// 1. Security installation.
14
- cy . visit ( Cypress . env ( "SITE_URL " ) )
14
+ cy . visit ( Cypress . env ( "WEBSITE_URL " ) )
15
15
. wait ( 2000 )
16
16
. findByText ( "Admin UI" )
17
17
. click ( )
@@ -63,7 +63,7 @@ context("Admin Installation", () => {
63
63
cy . findByText ( "Value is required." ) . should ( "exist" ) ;
64
64
65
65
cy . findByLabelText ( "Site Name" )
66
- . type ( Cypress . env ( "SITE_NAME " ) )
66
+ . type ( Cypress . env ( "WEBSITE_NAME " ) )
67
67
. findByTestId ( "install-pb-button" )
68
68
. click ( )
69
69
. wait ( 25000 ) ; // Wait for the Page Builder installation to finish.
Original file line number Diff line number Diff line change 1
1
{
2
2
"viewportWidth" : 1600 ,
3
3
"viewportHeight" : 1200 ,
4
- "baseUrl" : " https://SITE_CDN_ID .cloudfront.net" ,
4
+ "baseUrl" : " https://WEBSITE_CDN_ID .cloudfront.net" ,
5
5
"defaultCommandTimeout" : 30000 ,
6
6
"video" : false ,
7
7
"retries" : {
8
8
"runMode" : 5 ,
9
9
"openMode" : 0
10
10
},
11
11
"env" : {
12
- "SITE_NAME " : " Cypress Test Site " ,
13
- "SITE_URL " : " https://SITE_CDN_ID .cloudfront.net" ,
14
- "ADMIN_URL" : " https://SITE_CDN_ID .cloudfront.net/admin" ,
12
+ "WEBSITE_NAME " : " Cypress Test Website " ,
13
+ "WEBSITE_URL " : " https://WEBSITE_CDN_ID .cloudfront.net" ,
14
+ "ADMIN_URL" : " https://WEBSITE_CDN_ID .cloudfront.net/admin" ,
15
15
"API_URL" : " https://API_CDN_ID.cloudfront.net" ,
16
16
"GRAPHQL_API_URL" : " https://API_CDN_ID.cloudfront.net/graphql" ,
17
17
"AUTHORIZATION_TOKEN_KEY" : " webiny-token" ,
You can’t perform that action at this time.
0 commit comments