Files
copilotkit__copilotkit/showcase/integrations/claude-sdk-python/qa/headless-complete.md
Jordan Ritter dd06dd89d1 refactor(showcase): rename packages/ to integrations/
The showcase framework directories better reflect their role as
integration examples rather than distributable packages.
Renames showcase/packages/ -> showcase/integrations/ and updates
the test docker-compose file reference accordingly.
2026-04-28 07:47:35 -07:00

34 lines
1.1 KiB
Markdown

# QA: Headless Chat (Complete) — Claude Agent SDK (Python)
## Prerequisites
- Demo is deployed and accessible
- Agent backend is healthy
- ANTHROPIC_API_KEY is set
## Test Steps
### 1. Basic Functionality
- [ ] Navigate to `/demos/headless-complete`
- [ ] Verify the custom chat surface renders (header, scrollable list, input bar)
- [ ] Verify NO `<CopilotChat />` imports are visible (all chrome is custom)
- [ ] Send "Hello" — verify the user bubble + assistant bubble render
### 2. Generative UI Weave
- [ ] Click the "Weather in Tokyo" suggestion — verify the WeatherCard renders inline
- [ ] Click the "Highlight a note" suggestion — verify the HighlightNote component renders
- [ ] Try a message that triggers other tools — verify the catch-all tool card renders
### 3. Lifecycle
- [ ] During agent response, verify the Send button swaps to Stop
- [ ] Click Stop — verify the agent cancels cleanly
- [ ] Verify no console errors after stop
## Expected Results
- Messages area with `data-testid="headless-complete-messages"` scrolls automatically
- Input disabled while running; Send button disabled when empty