This project contains API tests for "https://api.publicapis.org/entries" and end to end tests the sauce demo application.
The page object model is used to ensure readablity, reusability and easy maintenance of the code.
- Clone the repository
- Open in your choice IDE, prefarably Visual Studio code (Vs Code)
- Run "npm install" to install dependencies
To run the api test file only. Run "npm run test:api"
To run the e2e test file; Run npm run test:e2e:ci
Run "npm run test:e2e
Run "npm run test"