TL;DR
- Playwright UI tests running headlessly in CI
- Cross-browser coverage: Chromium, Firefox, WebKit
- Evidence-first: HTML report, traces, screenshots, videos
- GitHub Actions pipeline with always-uploaded artifacts
This repository demonstrates a production-style UI automation pipeline using Playwright (Microsoft, 2020) and GitHub Actions (GitHub CI/CD platform).
The system under test is a deterministic Cloud Status Dashboard designed for repeatable validation.
The focus is not just passing tests — it’s verifiable proof reviewers can inspect.
Sources
Playwright: https://en.wikipedia.org/wiki/Playwright_(software)
GitHub Actions: https://docs.github.com/actions
- Tests run reliably in CI
- Evidence captured on pass and fail
- Cross-browser risk understood
- QA treated as a delivery system
- Playwright — browser automation ::contentReference[oaicite:0]{index=0}
- assertions
- TypeScript — typed test code
- GitHub Actions — CI execution
- HTML Reporter — human-readable report
- Trace Viewer — step-by-step replay
- Page load validation
- Cloud provider cards (AWS/Azure/GCP)
- Status indicators + timestamps
- User interaction and UI updates
- Cross-browser consistency
Triggers
- Runs on push to
main
Pipeline Steps
- Install dependencies + browsers
- Execute tests headlessly across browsers
- Generate HTML report
- Capture traces, screenshots, videos
- Upload artifacts even if tests fail
Artifacts Produced
playwright-report/test-results/- traces/videos/screenshots
- Actions → Playwright Tests → latest run
- Download playwright-report artifact
- Open
index.htmllocally
Example successful GitHub Actions run producing Playwright artifacts:
evidence/html-reportsevidence/tracesevidence/ui-screenshots
https://vivaciousdove.github.io/cloud-status-dashboard/
npm ci
npx playwright install --with-deps
npx playwright test
npx playwright show-report