File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ echo "Sleeping 10 seconds for the application to start"
88sleep 10
99echo " Woke up, after 10 seconds, running tests now..."
1010docker compose run --rm -e CI=true json-tool npm run test
11- docker run --network=host --rm -e CYPRESS_BASE_URL=http://localhost:3000 -v $( pwd) :/app -w /app cypress/included:15.10.0 npm run e2e
11+ docker run --network=host --rm -e CYPRESS_BASE_URL=http://localhost:3000 -e ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222 - v $( pwd) :/app -w /app cypress/included:15.10.0 npm run e2e
1212docker compose down --remove-orphans
1313docker compose run --rm json-tool rm -rf node_modules/ coverage/ build/ .nyc_output
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ module.exports = defineConfig({
1616 ] ,
1717 'experimentalRunAllSpecs' : true ,
1818 setupNodeEvents ( on , config ) {
19+ coverage ( on , config ) ;
20+ on ( 'file:preprocessor' , cucumber ( ) ) ;
21+
1922 if ( process . env . ELECTRON_EXTRA_LAUNCH_ARGS ) {
2023 on ( 'task' , {
2124 prepareArchives : ( ) => {
@@ -28,8 +31,6 @@ module.exports = defineConfig({
2831 if ( process . env . CI ) {
2932 installPlugin ( on , config ) ;
3033 }
31- coverage ( on , config ) ;
32- on ( 'file:preprocessor' , cucumber ( ) ) ;
3334 return config ;
3435 }
3536 }
You can’t perform that action at this time.
0 commit comments