Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 937 Bytes

README.md

File metadata and controls

48 lines (29 loc) · 937 Bytes

Cypress v9 + Cucumber Example

This repository contains the base setup of an UI testing project, using Cypress v9 + Cucumber

A simple search in DuckDuckGo to check that results are displayed is used as example

Requirements

The minimum requirements are:

node v18.16 npm 9.5.1

Setup

  1. Download or clone the repository
  2. Open a terminal
  3. Go to the path of the "package.json" file and execute:
npm install

Test Execution

To run the tests in headless mode, go to main directory and execute:

npm run run_tests

To open the Cypress IDE, run:

npm run open

Results

To check the report, open the '/repors/index.html' file once the execution has finished.

Links

Cypress

cypress-cucumber-preprocessor

cypress-mochawesome-reporter