- Paste to your terminal:
git clone git@github.com:witeknatalia/Cypress-tests.git
- Go to the catalog with the project
cd Cypress-tests
- Paste
npm i
to install dependencies - Create file
Cypress.env.json
with credentials - To run tests without preview
npx cypress run
- To run tests with preview
npm run tests
Additionally, GitHub Actions is set up. It will be run after the open or reopen pull request. One of the tests is failing because I've checked if it works correctly.