Skip to content

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

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

test(app): add mock llm e2e fixture#20375
kitlangton merged 2 commits into
devfrom
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
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant