Example project that uses playwright-bdd to run BDD tests.
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-example
cd playwright-bdd-example
-
Install dependencies
npm install
-
Install browsers
npx playwright install
-
Run tests
npm test
Output:
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