jest-cucumber-puppeteer-example icon indicating copy to clipboard operation
jest-cucumber-puppeteer-example copied to clipboard

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

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