File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 45
45
wait-on : ' http://localhost:5173'
46
46
browser : chrome
47
47
config : baseUrl=http://localhost:5173/ab-test-calculator-link/
48
- env : CYPRESS_BASE_URL=http://localhost:5173/ab-test-calculator-link/,DEBUG=cypress:*
48
+ env :
49
+ CYPRESS_BASE_URL : http://localhost:5173/ab-test-calculator-link/
50
+ DEBUG : cypress:*
49
51
50
52
- name : Upload artifact
51
53
uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change 1
1
describe ( 'Home Page' , ( ) => {
2
2
beforeEach ( ( ) => {
3
- const baseUrl = process . env . CYPRESS_BASE_URL || ' '
4
- const url = `${ baseUrl } / ?cs=1000&cc=24&vs=1000&vc=54`
3
+ const baseUrl = 'http://localhost:5173/ab-test-calculator-link/ '
4
+ const url = `${ baseUrl } ?cs=1000&cc=24&vs=1000&vc=54`
5
5
6
- cy . task ( "log" , `--> CYPRESS_BASE_URL: ${ process . env . CYPRESS_BASE_URL } ` )
7
6
cy . task ( "log" , `--> Visiting URL: ${ url } ` )
8
7
9
8
cy . visit ( url )
You can’t perform that action at this time.
0 commit comments