Example project that uses playwright-bdd to run BDD tests.
-
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