Prerequisites
-
npm, NodeJS To check if it is insalled, type node --v in the terminal. If not install download from https://nodejs.org/en/
-
Visual Studio Code If not already installed, please find download here: https://code.visualstudio.com/download
Installation
-
Clone the repository This can be done from VS Code home page-> clone git repository option OR from the terminal using the command git clone https://github.com/CherrelleMorrison/cmorrison-bootcampProject.git
-
Initialize with npm npm init -y
-
Install cypress npm install cypress --save-dev
Execution
a. From the terminal in VS Code:
To run using GUI mode: npx cypress open The list of test suites will be displayed, select the test you intend to run
b. To run in headless mode: npm test
Contact Information
Cherrelle Morrison- morrisoncherrelle@gmail.com Github Repository- https://github.com/CherrelleMorrison/cmorrison-bootcampProject