Playwright Automated Testing Tool Demo, GitHub Actions used to run the tests on push
- Testing Login functionality on Guestbook Demo App => tests/guestbook.spec.js
- Testing New User Registration, Logout, Login functionality on Advantage Online Shopping App => tests/aos.spec.js
You will need the following installed on your computer.
git clone <repository-url>
this repositorycd playwright-demo
npm install
npx playwright test
or headed
npx playwright test --headed
or headed with nicely formatted html report
npx playwright test --headed --reporter=html
on specific browser
npx playwright test --browser=firefox
on all browsers
npx playwright test --browser=all
to run in DEBUG mode, run the following command in terminal
$env:PWDEBUG=1
then
npx playwright test