Production Journey Tests — End-to-End on Live Sites
Property: ChurchWiseAI Category: UX / Flow
Tier:
all
Persona: anonymous
Touchpoint: production URLs (churchwiseai.com, pewsearch.com, illustratetheword.com)
Preconditions
- All 3 production sites deployed and live
- Demo church data loaded in Supabase
- Anthropic API configured
Steps
| # | Action | Expected Result |
|---|---|---|
| 1 | Load CWA care hub for demo church | Page loads. Care agent cards visible. At least 1 agent card with clickable link. |
| 2 | Click care agent card | Navigates to chat page for that agent. |
| 3 | Load CWA chat page | Chat interface loads. Input field and send button visible. |
| 4 | Send test message to chatbot API | POST /api/chatbot/stream returns 200. Response contains AI-generated text (>10 chars). Uses HEAR protocol. |
| 5 | Load PewSearch homepage | Directory search page loads. Church listing/search visible. |
| 6 | Load ITW illustration browse | Illustration grid loads. At least 1 illustration card visible. |
| 7 | Check all sites for console errors | No JavaScript errors in browser console. Network requests successful. |
| 8 | Test mobile viewport on CWA | Homepage responsive. Chat widget adapts to mobile. No layout breakage. |
Known Failure Modes
- Chat API returns 500 — LLM or Supabase issue
- Care hub shows no agent cards — Supabase query failing
- Chat interface doesn't load — missing JS dependencies
- Mobile layout broken — responsive design issue
References
- Playwright spec:
e2e/production-journeys.spec.ts - Code files:
Notes
Tests real user journeys on LIVE production URLs — not just page loads, but actual interactions: clicking cards, sending messages, getting AI responses. Uses demo church in production. Tests that Anthropic API, Supabase queries, and frontend interactivity all work end-to-end. Run after deployment to verify the full stack is operational.