Example e2e tests (some of which are slightly silly) written in Testcafe, that:
- use a page object pattern (now with 100% less class)
- 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 git@github.com:qualityshepherd/testcafe-example.git - install
npm i
- run
npm testto watch in browser, or npm run allto run parallel, headless, on Chrome and Firefox ornpm run browserstackto run tests in the cloud (requires an account and env keys to be set)npm runto see more options
