Skip to content

AHaydar/cypress-api-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Testing with Cypress

This repository shows a simple example to execute API call using Cypress. Marvel's API is used in this example.

Installation

  • Clone the project
  • Run npm i to setup the project
  • Run npm cypress:open to open cypress
  • Run npm test to execute the tests

Note that it's required to update the keys in the "marvel-api-test.js" file for the test to run properly.

This is a simple article talking about Cypress and API testing: https://medium.com/@ali.haydar/api-testing-with-cypress-d8c60ed6aa2e

About

Execute API call using cypress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published