Last active
November 25, 2019 17:55
-
-
Save bastman/675a916a0eb24dbce9a01173fb1e255a to your computer and use it in GitHub Desktop.
testcafe docker example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clone the testcafe example repo | |
$ git clone [email protected]:DevExpress/testcafe.git | |
$ cd testcafe | |
# run docker headless | |
$ docker run --rm -it -v ${PWD}:/tests tomdesinto/testcafe:latest testcafe 'chromium:headless --no-sandbox' '/tests/examples/basic/test.js' | |
# run docker chrome | |
$ docker run --rm -it -v ${PWD}:/tests tomdesinto/testcafe:latest testcafe 'chromium --no-sandbox' '/tests/examples/basic/test.js' | |
# run native | |
$ cd examples/basic | |
$ npm install | |
$ npm test | |
# typescript examples | |
$ git clone [email protected]:bjentsch/testcafe-typescript-example.git | |
$ cd testcafe-typescript-example | |
$ yarn install | |
$ npx testcafe chrome qdp.test.ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment