Playwright smoke test for auth flow

8916
0

When auth breaks in the UI, it’s expensive and it always seems to happen at the worst time. I keep one or two Playwright smoke tests that cover the critical path: login, navigate, create something, logout. The goal isn’t to test every edge case; it’s to catch obvious breakages (missing env vars, broken redirects, client-side exceptions) before a deploy reaches users. I run these against a seeded environment so the data is stable, and I keep selectors resilient by leaning on data-testid instead of brittle CSS selectors. With a handful of smoke tests, I get a lot of confidence for relatively little maintenance.