agent_crew icon indicating copy to clipboard operation
agent_crew copied to clipboard

test: E2E testing for OpenCode integration

Open sre-helmcode opened this issue 9 months ago • 1 comments

Summary

Comprehensive end-to-end testing for the OpenCode integration across both repos.

Scope

E2E Tests (Playwright)

  • Full flow: create OpenCode team → configure agents → deploy → chat
  • Verify provider selector in Step 1
  • Verify model list changes by provider
  • Verify provider badge in team list
  • Regression: verify Claude team creation still works

Integration Tests (Backend)

  • Create team with provider=opencode → deploy → chat → verify full flow
  • Skills installation with OpenCode provider
  • Scheduled tasks with OpenCode provider
  • Regression: all existing Claude tests pass

Container Validation

  • Build both Docker images successfully
  • Verify opencode serve starts in container
  • Verify .opencode/AGENTS.md and .opencode/agents/ generated
  • Verify .claude/skills/ installed

Acceptance Criteria

  • [ ] All E2E tests pass (Playwright)
  • [ ] All integration tests pass
  • [ ] Both Docker images build cleanly
  • [ ] Zero regression on Claude provider
  • [ ] Container validation passes for both providers

Dependencies

  • All previous issues completed (#39, #40, #41, #42, frontend issue)

References

  • Plan: PLAN_OPEN_CODE.md → Issue 6
  • Section: 13 (Verification)

sre-helmcode avatar Feb 27 '26 19:02 sre-helmcode

All E2E and integration tests completed. 32 Playwright E2E tests (frontend) + 15 integration tests (backend). QoS Phase 2 functional QA passed: 8/8 tests with Playwright MCP against live stack. All Docker images build cleanly. Zero regressions on Claude provider.

sre-helmcode avatar Feb 27 '26 21:02 sre-helmcode