Skip to content

Commit b0ef7f9

Browse files
committed
chore: Hopefully fix screenshots in CI.
1 parent ffed2d1 commit b0ef7f9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
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",

0 commit comments

Comments
 (0)