This test suite supports WillowTree's Name Game, hosted at https://willowtreeapps.github.io/TE-namegame-interview/
The suite is written in Javascript. There are two options to run the tests - Cypress and Testcafe. Our preferred option is Cypress. The Testcafe version should only be used when the Cypress test is not an option.
- Learn more about Cypress at https://docs.cypress.io/guides/core-concepts/introduction-to-cypress
- Learn more about Testcafe at https://devexpress.github.io/testcafe/documentation
To get started, run
npm install
to install relevant dependencies. Please reach out to WillowTree if you have any questions.
If you want to use cypress open
, simply run: npm run cy
.
Use the following commands to run the full test suite in the browser of your choice with Cypress:
npm run cy:chrome
npm run cy:firefox
npm run cy:chromium
Use the following commands to run the full test suite in the browser of your choice with Testcafe:
npm run testcafe-chrome
npm run testcafe-firefox
npm run testcafe-safari
npm run testcafe-edge
Find all dependencies and scripts in the package.json file.