Files
botsmann/docs/shared-package-browser-tests.md
Cato cd15ab47e9 fix(contact): save real requests and add browser rollout journeys (#239)
* fix(contact): require saved requests and add real browser rollout journeys

* test(browser): preserve project viewport in no-script journey

* test(browser): use published long article for contents navigation

* test(browser): exercise production runtime and retain failure diagnostics

* test(browser): target the contact alert and real standalone entrypoint
2026-10-27 23:26:11 +01:00

807 B

Shared package browser checks

pnpm exec playwright test --config=playwright.shared.config.ts builds and starts the real local production app and exercises the committed published article at phone and desktop widths, server-rendered reading without JavaScript, article navigation, and a contact request that cannot be delivered. The contact fixture has no database credentials and must show an error while retaining the draft. It must never claim that an unsaved request was received.

The browser-smoke.yml workflow runs these journeys for changes and dispatches, providing the browser evidence required by Fleet's shared package rollout gate. It uses no production account, recipient or paid model. These checks do not certify actual email delivery, Supabase registration or every bot/chat journey.