Copy .env.example to .env and set your base URL there.
Run:
npx playwright test <testname>
npx playwright test --ui <testname>A simple WordPress install somewhere with CF7, and a simple form asking for Name, Email, Message (see the test for more.)