This is a test suite in Cypress, for restful-booker API
To run via Docker:
- Clone the repo
- Create .env file following "env README.txt" directions
- Navigate into the restful-booker root folder
- Start Docker Desktop
- Run
docker-compose build
- Run
docker-compose up
- APIs are exposed on http://localhost:3001
- Run tests from src folder:
npx cypress open
for test runner
npx cypress run
for headless mode
• Should be up and running
• Should create a new token
• Should return ten bookings initially
• Should create a new booking
• Should perform partial booking update
• Should perform full booking update
• Should delete a booking
Restful Booker API Doc: https://restful-booker.herokuapp.com/apidoc/index.html
Restful Booker Repo: https://github.com/mwinteringham/restful-booker