Developer Documentation
Playwright Smoke Test Guide
`pnpm test:smoke` runs Playwright browser smoke tests from `tests/smoke`.
Use this when you need detailed reference information for Developer Documentation.
pnpm test:smoke runs Playwright browser smoke tests from tests/smoke.
Local smoke tests default to installed Google Chrome through PLAYWRIGHT_BROWSER_CHANNEL=chrome. Set PLAYWRIGHT_BROWSER_CHANNEL=chromium only after installing Playwright-managed browsers.
The smoke suite starts the dashboard and docs app, then checks:
- login page loads;
- failed login shows a visible error;
- unauthenticated protected route redirects to login;
- successful login reaches the dashboard when seeded credentials are available;
- Command Center, CRM, Imports, Agent Drafts, and Communications Outbox load after login;
- docs app loads on localhost.
Set SEED_ADMIN_EMAIL and SEED_ADMIN_PASSWORD before running authenticated smoke tests. Browser tests target localhost; LAN/mobile behavior remains documented in the LAN testing guide.
Developer Details
- Source
- apps/docs/content/engineering-quality/playwright-smoke-test-guide.md
- Owner
- Module Owner
- Status
- Current
- Module
- Developer Documentation
- Related route
- None