Hello, and welcome to my Github page! I created this repo to demonstrate simple examples of API testing using Cypress. These tests are based on the swagger documentation for the demo site called Petstore: https://petstore.swagger.io/
To get started:
- Pre-requisite: you have node.js installed (https://nodejs.org/en/)
- Clone this repo and run
npm install
in your terminal. This will install all the dependencies. - Launch Cypress runner by entering
npx cypress open
in your terminal. - In the Cypress runner UI, click on the
petstore-api-tests.cy.js
spec to run the tests. Enjoy!
Check out the recording of my talk for the Applitools Future of Testing Event, where I leverage ChatGPT to generate and debug these API tests: https://applitools.com/event/fot23-leveraging-chatgpt-with-cypress-for-api-testing-hands-on-techniques/