spirosikmd / jest-cucumber-puppeteer-example

Example project on how to use cucumber and puppeteer with jest for UI testing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jest-cucumber-puppeteer-example

CircleCI

Write UI tests using Cucumber, Gherkin, Puppeteer, and Jest. It uses the React TodoMVC project as a test UI. The Jest integration is made possible by the awesome jest-puppeteer and jest-cucumber packages 🙌

Run yarn to install the dependencies and then yarn test to execute the UI tests.

To run the tests in headless mode:

$ HEADLESS=false yarn test

About

Example project on how to use cucumber and puppeteer with jest for UI testing.

License:MIT License


Languages

Language:JavaScript 81.8%Language:Gherkin 18.2%