What problem does it solve?
Visual E2E testing ensures Strieber chat UI renders correctly after changes to Svelte components, CSS, or layout, catching regressions before release and reducing manual QA time.
Core Features & Use Cases
- End-to-end UI regression tests: Validate rendering of key components after frontend changes.
- Visual regression with screenshots: Capture desktop and mobile views to detect layout shifts.
- Efficient onboarding for changes: Integrates with existing docker-compose setup to run tests in CI or locally.
Quick Start
Run the tests with the Playwright runner:
docker compose run --rm playwright-test
After tests complete, view screenshots in frontend/test-results/screenshots/ for desktop and mobile:
frontend/test-results/screenshots/layout-desktop.png
frontend/test-results/screenshots/layout-mobile.png
You can verify results with:
- Use the Read tool to inspect the produced PNGs