Example e2e tests (some of which are slightly silly) written in Testcafe, that:
- use a page object pattern
- are written in Javascript es6
- use async/await
- run in parallel
- run on multiple browsers
- run headlessly
- run api tests
- run tests on BrowserStack
- clone
clone [email protected]:qualityshepherd/testcafe-example.git
- install
npm i
- run
npm test
to watch in browser, or npm run all
to run parallel, headless, on Chrome and Firefox ornpm run browserstack
to run tests in the cloud (requires an account and env keys to be set)npm run
to see more options