Skip to content

ChristianAA/cypress-v9-cucumber-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

UI testing project example with Cypress 9 + Cucumber

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published