Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/viveksundaresan1312/thecatapi

This repository contains automated end-to-end (E2E) tests using Cypress for the Cat API website.
https://github.com/viveksundaresan1312/thecatapi

cypress cypress-io cypress-tests e2e-tests

Last synced: 4 days ago
JSON representation

This repository contains automated end-to-end (E2E) tests using Cypress for the Cat API website.

Awesome Lists containing this project

README

        

# TheCatAPI-Tests
This repository contains automated end-to-end (E2E) tests using Cypress for the Cat API website.

## Project Setup

1. Clone the repository
2. Switch to the appropriate branch - for example: `dev`

### Install dependencies

```sh
npm install
```

### Install Cypress Globally

```sh
npm install cypress -g
```

### Install Cypress In Project

```sh
npm install cypress --save-dev
```

For more details visit this link - [Cypress installation] (https://docs.cypress.io/guides/getting-started/installing-cypress)

### Commands for running the tests

To execute the test in a browser

```sh
npx cypress open
```

To execute a test in CLI mode, i.e., in the terminal.

```sh
npx cypress run
```