BDD testing with Playwright runner
MIT License
Run BDD tests with Playwright runner.
Inspired by the issue in the Playwright repo microsoft/playwright#11975
[!TIP] Playwright-bdd v7 is released! Dropped Cucumber package dependency, simpler configuration and other improvements. Try it out and share the feedback!
Both Playwright and CucumberJS have their own test runners. You can use CucumberJS runner with Playwright as a library to test BDD scenarios. This package offers an alternative way: convert BDD scenarios into Playwright tests and run them with Playwright runner as usual. Such approach brings all the benefits of Playwright runner:
Some features were developed in playwright-bdd
on top of Playwright and BDD approaches:
Check out documentation website.
There are several examples in examples
folder and a separate fully working repo playwright-bdd-example.
Let's make playwright-bdd awesome together!
Check out the latest changes in the CHANGELOG.md.
Your contributions are welcome! Review DEVELOPMENT.md for playwright-bdd local setup and development.
Great thanks to the sponsors for supporting playwright-bdd project ❤️ Become a sponsor
Have a look on this section.