Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.02 KB

File metadata and controls

45 lines (32 loc) · 1.02 KB

Simple Cucumber/Puppeteer Example

This project is a simple example of using cucumberJS with puppeteer

The test scenarios created tests the create task list web app created by mrbenhowl

Getting started

cd e2e

npm install or yarn

Run something

Running Tests

npm run puppeteer or yarn puppeteer

Generate Report

npm run report:html or yarn report:html

cucumber html report will be generated in output/report folder

Folder structure

.
├── README.md
└── e2e
    ├── config
    │   └── properties.json
    ├── features
    │   └── simple.feature
    ├── output
    │   ├── report
    │   └── screenshots
    ├── package.json
    └── step_definitions
        ├── launch_steps.js
        └── support
            ├── constants.js
            ├── hooks.js
            └── scope.js