Skip to content

Add Maestro chat tests for Claude Code and OpenCode#21

Merged
gricha merged 2 commits intomainfrom
feature/maestro-chat-tests
Jan 7, 2026
Merged

Add Maestro chat tests for Claude Code and OpenCode#21
gricha merged 2 commits intomainfrom
feature/maestro-chat-tests

Conversation

@gricha
Copy link
Copy Markdown
Owner

@gricha gricha commented Jan 7, 2026

Summary

  • Add E2E tests for the chat functionality with real backend
  • Test both Claude Code (CC) and OpenCode (OC) chat flows
  • Add Docker support to macOS CI runner via Colima

Changes

Test IDs Added

  • chat-input, send-button, stop-button - Chat input controls
  • user-message, assistant-message - Message bubbles
  • thinking-dots - Loading indicator
  • new-chat-claude-code, new-chat-opencode, new-chat-codex - Chat picker items

New Test Flows

  • 03-chat-claude-code.yaml: Connect to server, open workspace, start CC chat, send message, verify response
  • 04-chat-opencode.yaml: Same flow but with OpenCode

Workflow Updates

  • Install Docker via Colima on macOS runner
  • Build workspace Docker image
  • Start Perry agent with test workspace
  • Increased timeout to 60 minutes (Docker + iOS build + tests)

Test plan

  • Verify Colima installs and starts Docker successfully
  • Verify agent starts and creates test workspace
  • Verify chat tests can connect and send messages
  • Verify responses are received from both CC and OpenCode

Note: This will significantly increase CI time due to Docker setup. If tests pass, consider optimizing or running on specific triggers only.

🤖 Generated with Claude Code

gricha and others added 2 commits January 6, 2026 19:52
- Add testIDs to SessionChatScreen (chat-input, send-button, stop-button,
  user-message, assistant-message, thinking-dots)
- Add testIDs to WorkspaceDetailScreen chat picker (new-chat-claude-code,
  new-chat-opencode, new-chat-codex)
- Add Maestro test flows for Claude Code and OpenCode chat
- Update workflow to:
  - Install Docker via Colima on macOS
  - Build workspace Docker image
  - Start Perry agent with test workspace
  - Increase timeout to 60 minutes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove Docker/Colima setup from CI (not supported on GitHub macOS runners)
- Use --exclude-tags=chat to skip chat tests in CI
- Chat tests (CC + OpenCode) remain for local testing
- Reduce timeout back to 45 minutes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gricha gricha merged commit 9f4b56a into main Jan 7, 2026
6 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