Skip to content

test(app): add mock llm e2e fixture#20375

Merged
kitlangton merged 2 commits intodevfrom
test/app-e2e-llm-server
Apr 1, 2026
Merged

test(app): add mock llm e2e fixture#20375
kitlangton merged 2 commits intodevfrom
test/app-e2e-llm-server

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • add a Playwright llm fixture backed by the shared TestLLMServer so app e2e tests can use the same mock provider abstraction as the opencode tests
  • extend withProject(...) so e2e tests can seed a temp workspace with mock-provider config and model selection before navigation
  • migrate the prompt reply smoke test to the mock LLM server and verify it runs end-to-end without hitting a real provider

@kitlangton kitlangton merged commit c8ecd64 into dev Apr 1, 2026
8 checks passed
@kitlangton kitlangton deleted the test/app-e2e-llm-server branch April 1, 2026 01:24
jeromelau pushed a commit to jeromelau/opencode that referenced this pull request Apr 2, 2026
balcsida pushed a commit to balcsida/opencode that referenced this pull request Apr 8, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant