This test suite shows how to use Cucumber (Gherkin) with Playwright in Node.js.
Setup:
- npm install
- npx playwright install chromium
Run:
- npm test (headless)
- npm run test:headed (headed, with PWDEBUG=1 for debugging)
Target site: https://the-internet.herokuapp.com/login Credentials used: tomsmith / SuperSecretPassword!