File tree 4 files changed +9
-6
lines changed 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ executors:
13
13
aliases :
14
14
e2e-executor : &e2e-executor
15
15
docker :
16
- - image : cypress/browsers:chrome69
16
+ - image : cypress/browsers:node10.16.0-chrome76
17
17
18
18
restore_cache : &restore_cache
19
19
restore_cache :
Original file line number Diff line number Diff line change 25
25
"build" : " gatsby build" ,
26
26
"develop" : " gatsby develop" ,
27
27
"format" : " prettier --write '**/*.js'" ,
28
- "test" : " CYPRESS_SUPPORT=y npm run build && npm run start-server-and-test" ,
28
+ "test" : " cross-env CYPRESS_SUPPORT=y npm run build && npm run start-server-and-test" ,
29
29
"start-server-and-test" : " start-server-and-test serve http://localhost:9000 cy:run" ,
30
30
"serve" : " gatsby serve" ,
31
31
"cy:open" : " cypress open" ,
32
32
"cy:run" : " (is-ci && cypress run --browser chrome --record) || cypress run --browser chrome"
33
33
},
34
34
"devDependencies" : {
35
+ "cross-env" : " ^5.2.0" ,
35
36
"gatsby-cypress" : " ^0.1.7" ,
36
37
"is-ci" : " ^2.0.0" ,
37
38
"prettier" : " ^1.14.3" ,
Original file line number Diff line number Diff line change 25
25
"postbuild" : " cp -r public/. assets/blog" ,
26
26
"develop" : " gatsby develop" ,
27
27
"format" : " prettier --write '**/*.js'" ,
28
- "test" : " CYPRESS_SUPPORT=y npm run build && npm run start-server-and-test" ,
28
+ "test" : " cross-env CYPRESS_SUPPORT=y npm run build && npm run start-server-and-test" ,
29
29
"start-server-and-test" : " start-server-and-test serve \" http://localhost:9000/blog/|http://localhost:9001/blog/\" cy:run" ,
30
30
"serve" : " gatsby serve --prefix-paths & npm run serve:assets" ,
31
31
"serve:assets" : " node scripts/serve.js" ,
32
32
"cy:open" : " cypress open" ,
33
33
"cy:run" : " (is-ci && cypress run --browser chrome --record) || cypress run --browser chrome"
34
34
},
35
35
"devDependencies" : {
36
+ "cross-env" : " ^5.2.0" ,
36
37
"gatsby-cypress" : " ^0.1.7" ,
37
38
"is-ci" : " ^2.0.0" ,
38
39
"prettier" : " ^1.14.3" ,
Original file line number Diff line number Diff line change 20
20
],
21
21
"license" : " MIT" ,
22
22
"scripts" : {
23
- "build" : " CYPRESS_SUPPORT=y gatsby build" ,
24
- "build:offline" : " TEST_PLUGIN_OFFLINE=y CYPRESS_SUPPORT=y gatsby build" ,
23
+ "build" : " cross-env CYPRESS_SUPPORT=y gatsby build" ,
24
+ "build:offline" : " cross-env TEST_PLUGIN_OFFLINE=y CYPRESS_SUPPORT=y gatsby build" ,
25
25
"develop" : " gatsby develop" ,
26
26
"format" : " prettier --write '**/*.js'" ,
27
27
"serve" : " gatsby serve" ,
36
36
"cy:run" : " npm run cy:run:normal && npm run cy:run:slow" ,
37
37
"cy:run:offline" : " npm run cy:run:normal -- --env TEST_PLUGIN_OFFLINE=y && npm run cy:run:slow -- --env TEST_PLUGIN_OFFLINE=y" ,
38
38
"cy:run:normal" : " (is-ci && cypress run --browser chrome --record) || cypress run --browser chrome" ,
39
- "cy:run:slow" : " CYPRESS_CONNECTION_TYPE=slow cypress run --browser chrome --config testFiles=prefetching.js"
39
+ "cy:run:slow" : " cross-env CYPRESS_CONNECTION_TYPE=slow cypress run --browser chrome --config testFiles=prefetching.js"
40
40
},
41
41
"devDependencies" : {
42
+ "cross-env" : " ^5.2.0" ,
42
43
"fs-extra" : " ^7.0.1" ,
43
44
"is-ci" : " ^2.0.0" ,
44
45
"prettier" : " ^1.14.3" ,
You can’t perform that action at this time.
0 commit comments