/E2E_API_Tests_Cypress

E2E and API tests examples using Typescript and Cypress framework

Primary LanguageTypeScript

E2E_API_Tests_Cypress

Install

Clone the GitHub repository

git clone git@github.com:CelineElisa/E2E_API_Tests_Cypress.git

Move to the directory

cd E2E_API_Tests_Cypress

Install the packages

npm install

Create a "cypress.env.json" file in the folder root and add it the env variables as in the "cypress.env.json.template" file. You can use any string for the password and the username.

Run

Using Cypress user interface

npm run cypress:open

then choose E2E testing

Using Cypress headless

npm run cypress:run