My imperfect cypress test automation repo. Brought to you by the tutorial from Marie Drake available on The Ministry of Testing website.
These instructions assume you're using a recent macOSX. If you're using Windows, you may want to look into using Windows Subsytem for Linux 2 as the basis for your work.
- Install Node.js and NPM
- Install Visual Studio Code
Install Project Dependencies
Creates .zshrc file if one is not already presenttouch ~/.zshrc
Download and install Node.js
Install Cypress version 8.4.0
npm i -D cypress@8.4.0
To open up the Cypress Test Runner and run the example test, execute npx cypress open
on the project root. This will load up the Cypress Test Runner and add directory dependencies.
To run the tests on the command line, execute npx cypress run