Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Trying to run testcafe using latest Electron v.8.x
Browse files Browse the repository at this point in the history
It's still failing. It seems more an issue of `testcafe-browser-provider` DevExpress/testcafe-browser-provider-electron#64
  • Loading branch information
veado committed Apr 21, 2020
1 parent bfddbe9 commit ac80648
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"start-renderer-dev": "cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js",
"test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 jest",
"test-all": "yarn lint && yarn ts && yarn build && yarn test && yarn build-e2e && yarn test-e2e",
"test-e2e": "node -r @babel/register ./internals/scripts/CheckBuildsExist.js && cross-env NODE_ENV=test testcafe electron:./app ./test/e2e/HomePage.e2e.ts",
"test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuildsExist.js && cross-env NODE_ENV=test testcafe --live electron:./app ./test/e2e/HomePage.e2e.ts",
"test-e2e": "node -r @babel/register ./internals/scripts/CheckBuildsExist.js && cross-env NODE_ENV=test testcafe electron:./app ./test/e2e/HomePage.e2e.ts --ts-config-path ./tsconfig.testcafe.json",
"test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuildsExist.js && cross-env NODE_ENV=test testcafe --live electron:./app ./test/e2e/HomePage.e2e.ts --ts-config-path ./tsconfig.testcafe.json",
"test-watch": "yarn test --watch"
},
"lint-staged": {
Expand Down
8 changes: 8 additions & 0 deletions tsconfig.testcafe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
// https://devexpress.github.io/testcafe/documentation/test-api/typescript-support.html#customize-compiler-options
"compilerOptions": {
"sourceMap": false,
"strict": false
}
}

0 comments on commit ac80648

Please sign in to comment.