- Install Cypress in repository folder:
npm install cypress
- Verify correct installation (should open Cypress GUI):
node_modules/.bin/cypress open
- Add repository folder to Cyress GUI for editing:
<repository path>/fidel-challenge/
All test files are located in the cypress/integration folder;
All fixture files are located in the cypress/fixtures folder;
All helper files are located in the support folder;
Front-end tests are suffixed with 'front-end' in their file name; Back-end tests are suffixed with 'back-end' in the file name;
From VS Code:
Ctrl+Shift+B > Select (Cypress Run Tests)
From VS Code Terminal:
npm run cy:run
From VS Code:
Ctrl+Shift+B > Select (Cypress Open)
From VS Code Terminal:
npm run cy:open