/Supermarket_E2E_tests

Example E2E tests with Cypress, Cucumber and TypeScript

Primary LanguageTypeScript

Supermarket web app E2E tests

Introduction

E2E tests using Cypress and Cucumber for Supermarkets web apps

Getting Started

Install

Clone the GitHub repository

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

Move to the directory

cd Supermarket_E2E_tests

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.template" file.

Run

Using Cypress user interface

npm run cypress:open

then choose E2E testing

Using Cypress headless

npm run cypress:run