Automated UI test suite using Playwright for the test application: the-internet.herokuapp.com.
This project covers various interactive features of the Herokuapp test site using modern, maintainable Playwright tests.
- β Page Title Validation
- β Add/Remove Elements
- β
Basic Authentication (via
httpCredentials) - β Broken Images Detection
- β Button Visibility and Click Actions
- β Element Count Assertions
- Playwright
- TypeScript
- Node.js
- GitHub Actions
βββ constants/ β βββ configuration.ts βββ pages/ β βββ pageObjects.ts β βββ locators.ts βββ tests/ β βββ TC01-addRemove.spec.ts β βββ TC02-basicAuth.spec.ts β βββ TC03-brokenImages.spec.ts βββ utils/ β βββ credentials.ts β βββ generalUtils.ts βββ package.json βββ playwright.config.ts βββ README.md
- Clone the repo
git clone https://github.com/ravigitgit/playwright-the-internet-tests.git cd playwright-the-internet-tests - Install project dependencies
npm install
- Install Playwright browsers with system dependencies
npx playwright install --with-deps
- Run Tests
npx playwright test # or npm run test
- Show HTML Report
npx playwright show-report # or npm run test:report - View Allure Report (GitHub Pages Hosted) Allure test reports are automatically generated and deployed via GitHub Actions.
π Live Report URL: π https://ravigitgit.github.io/playwright-the-internet-tests/