Skip to content

test(cockpit-chat): aimock e2e for input/threads/timeline/theming (Task #4 batch)#476

Merged
blove merged 1 commit into
mainfrom
claude/chat-aimock-batch
May 19, 2026
Merged

test(cockpit-chat): aimock e2e for input/threads/timeline/theming (Task #4 batch)#476
blove merged 1 commit into
mainfrom
claude/chat-aimock-batch

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 19, 2026

Summary

Task #4 batch — adds aimock e2e coverage to 4 of the 7 deferred chat caps. Generated mechanically via `scripts/generate-aimock-scaffold.ts` (PR #472); fixtures + spec assertions hand-authored.

Caps covered (4)

  • c-input (raw primitives, like c-messages): user+AI bubbles render, count=2.
  • c-threads (composed ``): AI text reply, `chat-thread-list` sidebar mounted.
  • c-timeline (composed ``): AI text reply, `chat-timeline-slider` sidebar mounted.
  • c-theming (composed ``): AI text reply, four theme picker buttons (Dark/Light/Ocean/Forest) present.

Deferred (separate follow-up PRs)

  • c-generative-ui: backend uses `render_spec` tool — multi-turn fixture (tool_calls + continuation) needed.
  • c-a2ui: backend emits inline A2UI JSONL envelopes (`---a2ui_JSON---` prefix) — fixture content sensitive to envelope structure.
  • c-debug: demo has no `` affordance (only `` viewer). Either add an input or wire chat-debug to expose one.

Test plan

  • CI `Cockpit — e2e` summary passes; 4 new matrix expansions all green.
  • CI `Cockpit — build / test` passes (cockpit-e2e-wiring spec auto-discovers the new caps).
  • No regression on the existing 5 cap e2es (streaming + tool-calls + subagents + interrupts + messages).

🤖 Generated with Claude Code

…heming

Task #4 batch (4 of 7 deferred chat caps). Generated via
scripts/generate-aimock-scaffold.ts; fixtures + spec assertions
hand-authored. Each cap gets one chat-message rendering test plus
one cap-distinctive surface test.

Caps covered:
- c-input (raw primitives, like c-messages): user+AI bubbles, count=2.
- c-threads (composed <chat>): AI text, chat-thread-list mounted.
- c-timeline (composed <chat>): AI text, chat-timeline-slider mounted.
- c-theming (composed <chat>): AI text, four theme picker buttons present.

Deferred from this batch (separate follow-ups):
- c-generative-ui + c-a2ui: require multi-turn / rich-content fixtures
  (tool_calls turn + continuation, or inline A2UI JSONL emission).
  Safer to author with backend-trace verification than hand-author.
- c-debug: demo has no <chat-input> affordance (only <chat-debug>
  viewer). Either add an input or wire chat-debug to expose one.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment May 19, 2026 8:21pm

Request Review

@blove blove merged commit 161fae9 into main May 19, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant