This is a sample test automation for a website.
To install, simply do the following:
npm install
To run Playwright in headless mode
npx playwright test
To run Playwright in UI mode
npx playwright test --ui
Note: Running tests in parallel is currently disabled as it sometimes causes unexpected behavior like the browser crashing when loading a page, timeouts, etc.
To view the HTML test report generated by Playwright
npx playwright show-report
This sample automation tool implementation uses the following:
- Playwright - Reliable, end-to-end testing for modern web apps.