Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1.41 KB

readme.md

File metadata and controls

38 lines (20 loc) · 1.41 KB

Deck Of Cards API Testing Project

Cypress Tests

This project uses Cypress to automate API tests upon deckofcardsapi.com application.

This project is integrated with GitHub Actions to automate a simple CI workflow, and with GitHub Pages, to publish the last test results report.

Report Page

The last report is available at project's GH Page.

Pre-requirements

It is required to have Node.js and npm installed to run this project.

I've used versions v16.16.0 and 8.11.0 of Node.js and npm, respectively. I recommend you to use the same or later versions.

Installation

Run npm install (or npm i for the short version) to install the dev dependencies.

Tests

Run npm test (or npm t for the short version) to run the test in headless mode.

Or, run npm run cy:open to open Cypress in interactive mode.

Note: This project doesn't handle sensible data to perform tests (tokens/passwords/etc), so I didn't used a cypress.env.json file.

About the project structure


This project was created by Benjamin Pinto.