What problem does it solve?
End-to-end journey testing is essential for validating UI features, but writing, running, and documenting reliable tests—along with sharing visual results—can be time-consuming and error-prone without a repeatable process.
Core Features & Use Cases
- End-to-end Journey Tests: Create a single feature-focused test per user journey using Playwright, with clear structure and expectations.
- Recording & Documentation: Automatically record GIFs of test runs and maintain a gallery for quick QA and stakeholder reviews.
- Guided Template & Helpers: Use the provided journey template and helpers (setupRecording, click, showStep, showResult, endRecording) to standardize tests and capture meaningful interactions.
- Test Data Isolation: Add dedicated seed data in e2e/helpers/seed-data.ts to ensure tests run against isolated, reproducible environments without mutating shared data.
- Running & Debugging: Execute targeted tests with pnpm commands and use the GIF workflow to verify outcomes in CI or local development.
Quick Start
Create a new journey file under packages/platform-ui/e2e/journeys following the template, then run the appropriate pnpm test:e2e command for your environment.