Sample project using Cypress to automate both UI and API.
- Clone this repo to a local directory
git clone https://github.com/<your-username>/cypress-ui-api-automation.git
- cd into the cloned repo
cd cypress-ui-api-automation
- Install the node_modules
npm install
- Open Cypress application (run tests manually in UI):
npx cypress open
- Run tests via command line
npx cypress run