playwright tests

Situation

The repo had Playwright e2e specs and a store app already instrumented with PostHog (@rimo/ui provider, session replay). CI against Vercel previews/production was not wired end-to-end: no automated runs on deployment URLs, no durable link between a failing test and analytics/replay, and no Linear triage—so repeated failures on every commit would either be ignored or create noisy duplicate tickets.


Task

  1. Run Playwright reliably against Vercel (preview and production), not only localhost.
  2. Tie each Playwright run to a relevant PostHog identity so failures can be traced to session replay (and related person/search URLs in CI).
  3. Integrate Linear so failures become trackable work, without opening a new issue on every commit when the same test keeps failing.
  4. Orchestrate reporting and integrations in one place—global teardown after tests finish.

Action

CI / Vercel + GitHub Actions

PostHog correlation