Skip to content

Playwright automation written in JS integrated with Cucumber and coupled with features (BDD)

Notifications You must be signed in to change notification settings

SabFloki/Playwright-BDD-Cucumber

Repository files navigation

#Playwright-Cucumber-JS

Chapter 11 - Visual Testing for Playwright

Playwright 1.27.0+ with Cucumber boilerplate

Topics

Integrated with

  • @cucumber/cucumber
  • @cucumber/pretty-formatter
  • @playwright/test
  • dotenv
  • env-cmd
  • cucumber-html-reporter
  • playwright

Pre-requisites

  1. Node JS
  2. Json-formatter for Native Reporter option ( depends on your OS : https://github.com/cucumber/json-formatter)

Install the project

Install project dependancies with : npm i

Run the demo:

  1. npm run test:e2e:report
  2. Cucumber report gets launched automatically

Screenshot 2022-12-23 at 3 16 54 PM

Circle CI

_ yet to be done _

About

Playwright automation written in JS integrated with Cucumber and coupled with features (BDD)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages