What problem does it solve? Writing end-to-end tests often fails through brittle selectors, hardcoded copy, slow timeouts on API errors, and fixtures that bypass the real application stack. This Skill codifies the conventions for the packages/e2e/ Playwright workspace so tests are fast, type-safe, and debuggable. ## Core Features & Use Cases - SDK-driven test setup: Build fixtures through real API calls via composable given helpers (onboardedUser, freshUser, userWithPatient) instead of UI click-paths or direct database access. - Type-safe mocking: Mock external services and SSE streams with mockRoute and mockSSE bound to SDK response types and query keys, so contract changes break compilation instead of silently passing. - Failure diagnostics: Debug failures through auto-attached network logs, fail-fast network.waitForFailure races, and Grafana Tempo trace queries that reveal the underlying business error. - Use Case: When adding a spec for a notifications page, register typed mocks for the notifications query key and SSE listener, create an onboarded user via the given fixture, navigate with the typed goto helper, and assert on i18n-sourced copy. ## Quick Start Write a Playwright e2e spec for the patients page using the given helpers and typed goto fixture from this skill.