Bug Regression: Demo Church Phone Labels (CWA)
Property: ChurchWiseAI Category: Chatbot
Tier:
starter-voice
Persona: pastor-tester
Touchpoint: /admin/[token], voice setup
Preconditions
- Demo church (churchwiseai-demo) has voice agent provisioned
- Phone number assigned (e.g. +1-615-XXX-XXXX)
Steps
| # | Action | Expected Result |
|---|---|---|
| 1 | Navigate to Voice setup in admin | Phone number shown with clear label (e.g. 'Your church phone' or 'Voice line'). |
| 2 | Check phone setup for demo church | Phone number displays correctly. Label is human-readable, not 'ph_xxxxx' or raw ID. |
| 3 | View call history or logs | Calls show phone number with label (not raw DB ID). Easy for pastor to identify. |
| 4 | Check SIP setup UI | SIP address shown clearly labeled (e.g. 'SIP endpoint' or 'SIP address'). Not hidden or unlabeled. |
Known Failure Modes
- Phone number shows as 'ph_c8a6b4....' — label missing (original bug)
- Multiple phone labels conflicting — duplicate assignment
- Phone not associated with correct demo church — routing wrong
References
- Playwright spec:
e2e/delivers/known-bugs/cwa-demo-phone-labels.spec.ts - Code files:
Notes
BUG REGRESSION TEST. Previously: demo church phone numbers displayed as raw Stripe IDs (ph_xxxxx) instead of human-readable labels. This regression test ensures fix stays fixed. If labels revert to IDs, this test catches it.