This workspace to run E2E test for API and UI - MARSAIR challenge
Implemented scenarios:
- API: Verify the potential customer is able to search without promotional code and get available seats
- API: Verify the potential customer is able to search without promotion code and get no available seats
- UI: Verify the potential customer is able to search with the invalid promotional code and get available seats
- Clone the repository
git clone -b marsair-challenge https://github.com/hoa-pham82/cypress-e2e.git
- Install Cypress and dependencies
npm install
- Run all test file in local
npm run cy:run
- Run individual specific file in Chrome browser
npm run cy:ui:chrome
- Report will be saved in
mochawesome-report
folder in local