545e421423
Github action CI workflows added for webdriver tests.
I've also refactored the `./scripts/e2e-*` scripts. These scripts were
somewhat unique compared to the other scripts. They are now more inline
with the other scripts in that directory and run via
```
% yarn e2e --help
Usage: yarn e2e <command> [options]
Commands:
yarn e2e serve start test server
yarn e2e test:ci [env] runner for CI (github-actions)
yarn e2e test:local run webdriver tests locally
yarn e2e test:browserstack run webdriver tests on browserstack
yarn e2e selenium:grid start selenium grid (test linux)
Options:
--help Show help [boolean]
--version Show version number [boolean]
```
I've also added an experimental linux runner see
2cca4ddb77/e2e/README.md (L320-L333)
### Change Type
- [x] `tests` — Changes to any testing-related code only (will not
publish a new version)
### Release Notes
- Github action CI workflows added for webdriver tests
- Refactored e2e test runner
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"name": "@tldraw/e2e",
|
|
"version": "2.0.0-alpha.8",
|
|
"private": true,
|
|
"packageManager": "yarn@3.5.0",
|
|
"author": {
|
|
"name": "tldraw GB Ltd.",
|
|
"email": "hello@tldraw.com"
|
|
},
|
|
"homepage": "https://tldraw.dev",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tldraw/tldraw"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/tldraw/tldraw/issues"
|
|
},
|
|
"keywords": [
|
|
"tldraw",
|
|
"drawing",
|
|
"app",
|
|
"development",
|
|
"whiteboard",
|
|
"canvas",
|
|
"infinite"
|
|
],
|
|
"scripts": {
|
|
"test:local": "TS_NODE_PROJECT=./tsconfig.json wdio run wdio.local.conf.js",
|
|
"test:browserstack": "TS_NODE_PROJECT=./tsconfig.json wdio run wdio.browserstack.conf.js",
|
|
"test:nightly": "TS_NODE_PROJECT=./tsconfig.json wdio run wdio.nightly.conf.js",
|
|
"lint": "yarn run -T tsx ../scripts/lint.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@sitespeed.io/edgedriver": "^112.0.1722-34",
|
|
"@tldraw/editor": "workspace:*",
|
|
"@tldraw/primitives": "workspace:*",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/sharp": "^0.31.1",
|
|
"@wdio/browserstack-service": "^8.10.1",
|
|
"@wdio/cli": "^8.1.3",
|
|
"@wdio/globals": "^8.1.3",
|
|
"@wdio/local-runner": "^8.1.2",
|
|
"@wdio/mocha-framework": "^8.1.2",
|
|
"@wdio/spec-reporter": "^8.1.2",
|
|
"chromedriver": "^112.0.0",
|
|
"geckodriver": "^3.2.0",
|
|
"lazyrepo": "0.0.0-alpha.26",
|
|
"msedgedriver": "^91.0.0",
|
|
"pixelmatch": "^5.3.0",
|
|
"pngjs": "^6.0.0",
|
|
"sharp": "^0.31.2",
|
|
"ts-node-dev": "^2.0.0",
|
|
"ua-parser-js": "^1.0.33",
|
|
"wdio-chromedriver-service": "^8.0.1",
|
|
"wdio-edgedriver-service": "^2.1.2",
|
|
"wdio-geckodriver-service": "^4.1.1",
|
|
"wdio-safaridriver-service": "^2.1.0",
|
|
"wdio-vscode-service": "^5.1.0"
|
|
}
|
|
}
|