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/