Smoke-test a production deploy in 60 seconds
When to use: You just shipped a deploy and want a quick gut-check that the critical user flows still work, before declaring success.
Prerequisites
- Test account credentials (use a dedicated QA account, not real user) — Store in env vars or in your prompt itself
Flow
-
Open the home page and verify it loadsOpen https://app.example.com. Verify the page returns 200, the H1 says 'Welcome', and the login button is visible.✓ Copied→ Pass/fail with screenshot if it fails
-
Run the login → core action → logout flowLog in as [email protected] / [password]. Then create a new project named 'smoke-test-<timestamp>'. Then delete it. Then log out.✓ Copied→ Each step succeeds; if any fails, screenshot + DOM dump
-
Diagnose any failureIf a step failed, capture the page snapshot and tell me what's different from a working baseline.✓ Copied→ Specific element or network request that broke
Outcome: Confidence (or rapid panic) about your deploy in under a minute, without needing a full E2E suite.
Pitfalls
- Hard-coded test data accumulates and pollutes prod — Always use unique timestamps in test data and clean up at the end of the flow
- Browser session persists between runs, masking bugs that need a clean state — Run with
--browser-context: incognitoor clear cookies between runs