Skip to content

Commit 8a644d9

Browse files
authored
feat: Support CI-specific WDIO runs.
This adds a 30 second timeout for WDIO tests, though it's not yet enabled on CI.
1 parent cfb37da commit 8a644d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@
1515
"prepublishOnly": "npm login --registry https://wombat-dressing-room.appspot.com",
1616
"start": "blockly-scripts start",
1717
"test": "npm run test:mocha && npm run test:wdio",
18+
"test:ci": "npm run test:mocha && npm run test:wdio:ci",
1819
"test:mocha": "blockly-scripts test",
1920
"test:wdio": "npm run wdio:clean && npm run wdio:run",
21+
"test:wdio:ci": "npm run wdio:clean && npm run wdio:run:ci",
2022
"wdio:build": "npm run wdio:build:app && npm run wdio:build:tests",
2123
"wdio:build:app": "cd test/webdriverio && webpack",
2224
"wdio:build:tests": "tsc -p ./test/webdriverio/test/tsconfig.json",
2325
"wdio:clean": "cd test/webdriverio/test && rm -rf dist",
2426
"wdio:run": "npm run wdio:build && cd test/webdriverio/test && npx mocha dist"
27+
"wdio:run:ci": "npm run wdio:build && cd test/webdriverio/test && npx mocha --timeout 30000 dist"
2528
},
2629
"main": "./dist/index.js",
2730
"module": "./src/index.js",

0 commit comments

Comments
 (0)