X Tutup
The Wayback Machine - https://web.archive.org/web/20201207160034/https://github.com/qualityshepherd/testcafe-example
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Codeship Status for qualityshepherd/testcafe-example.

Testcafe Example

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

Setup

  1. clone clone git@github.com:qualityshepherd/testcafe-example.git
  2. install npm i

Run

  • run npm test to watch in browser, or
  • npm run all to run parallel, headless, on Chrome and Firefox or
  • npm run browserstack to run tests in the cloud (requires an account and env keys to be set)
  • npm run to see more options

Test Run Gif

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.
X Tutup