This project is about creating automation test scripts in Cypress and JavaScript for testing Jenkins website.
-
Clone repository to your machine.
-
Navigate to project root folder.
-
Run command
npm install
ornpm ci
to install dependencies. -
Create env file with creaentials:
- Copy and paste the file
cypress.env.json.example
to project root folder. - Сhange the file name to
cypress.env.json
.
- Copy and paste the file
-
Choose a script to execute your tests:
npm run cy-open
- opens Cypress to manually choose which test to runnpm run cy-run
- runs all tests with UI (visible monitoring)npm run cy-run-ci
- runs all the tests without UI