A minimal example project that uses playwright-bdd to run BDD tests with Playwright.
Important
If you are using Yarn Plug'n'Play, please check out yarn-pnp branch.
-
Fork the repo!
-
Clone it to your local machine
git clone https://github.com/YOUR_GITHUB_USERNAME/playwright-bdd-example.git -
Change directory to
playwright-bdd-examplecd playwright-bdd-example -
Install dependencies
npm install -
Install browsers
npx playwright install -
Run tests
npm testOutput:
Running 2 tests using 1 worker 2 passed (2.3s) -
Make changes reproducing a bug
-
Commit and push changes
git add . git commit -m'repro for playwright-bdd issue xxx' git push -
Open a pull-request and share the link