File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,13 @@ jobs:
6464 run : |
6565 cd main
6666 npm run wdio:clean
67- npm run wdio:build
6867
6968 - name : Run tests (up to 50 times)
7069 run : |
71- cd main/test/webdriverio/test
7270 #for i in $(seq 1 50);
7371 #do
7472 echo "Attempt $i"
75- npx mocha --timeout 30000 dist
73+ npm run wdio:run:ci
7674 #done
7775
7876 - name : Upload test failure screenshots
Original file line number Diff line number Diff line change 2424 "wdio:build:tests" : " tsc -p ./test/webdriverio/test/tsconfig.json" ,
2525 "wdio:clean" : " cd test/webdriverio/test && rm -rf dist && rm -rf failures" ,
2626 "wdio:run" : " npm run wdio:build && cd test/webdriverio/test && mkdir failures && npx mocha dist" ,
27- "wdio:run:ci" : " npm run wdio:build && cd test/webdriverio/test && npx mocha --timeout 30000 dist"
27+ "wdio:run:ci" : " npm run wdio:build && cd test/webdriverio/test && mkdir failures && npx mocha --timeout 30000 dist"
2828 },
2929 "main" : " ./dist/index.js" ,
3030 "module" : " ./src/index.js" ,
You can’t perform that action at this time.
0 commit comments