Automation framework for DemoQA built using Playwright, featuring:
- 📌 Page Object Model (POM)
- 🧪 Multi‑browser testing (Chromium / Firefox / WebKit)
- 🚀 GitHub Actions CI Pipeline
- 🌐 Test Report hosted via GitHub Pages
- 🐳 Docker Test Runner (GHCR Package)
- 🔐 Secure secrets for credentials
- Clone the Repo
git clone https://github.com/ravigitgit/demoqa.git
cd demoqa- Install Dependencies
npm install- Install Browsers
npx playwright install --with-deps- Run Tests
npx playwright test
# or
npm run test- View HTML Report (Local)
npx playwright show-report
# or
npm run test:report- View Report (GitHub Pages) Reports are auto‑published on CI ✅
docker pull ghcr.io/ravigitgit/demoqa:latestdocker run --rm ghcr.io/ravigitgit/demoqa:latestEnsures consistent test environment across machines & CI 🌍
demoqa/
├─.github/workflows # CI pipelines
├─ pageObject/ # Page Objects
├─ tests/ # Test specs
├─ userData/ # Test data & helpers
├─ Dockerfile # Docker runner
└─ playwright.config.js # Playwright configuration
- Multi‑browser test matrix
- Upload test artifacts (HTML + traces)
- Deploy HTML report to GitHub Pages
- PR comment summary
- Build & push Docker Image to GHCR
| Resource | Link |
|---|---|
| DemoQA Site | https://demoqa.com |
| GitHub Pages Report | https://ravigitgit.github.io/demoqa |
| Docker Image | ghcr.io/ravigitgit/demoqa:latest |
| Releases | https://github.com/ravigitgit/demoqa/releases |
Ravi — QA Engineer | Playwright | CI/CD | Docker
Feel free to ⭐ this repo if it helped you!
PRs are welcome 🙌
For issues or suggestions: https://github.com/ravigitgit/demoqa/issues