test: update LLM provider e2e tests for refreshed UI#8779
Merged
raunakab merged 2 commits intorefactor/llm-configfrom Feb 27, 2026
Merged
test: update LLM provider e2e tests for refreshed UI#8779raunakab merged 2 commits intorefactor/llm-configfrom
raunakab merged 2 commits intorefactor/llm-configfrom
Conversation
Contributor
Greptile SummaryUpdated E2E tests to match the refreshed LLM Configuration page UI, including new page title ("LLM Models"), Connect button, settings/trash action buttons, delete confirmation modal, and default model dropdown. Key Changes:
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: ef0da26 |
Contributor
|
Preview Deployment
|
a5919ad to
23fc6d4
Compare
ef0da26 to
e3328ec
Compare
23fc6d4 to
ce2aac7
Compare
…derAsDefault endpoint
e3328ec to
bf9ca4f
Compare
jmelahman
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update the LLM provider setup e2e tests to match the refreshed LLM Configuration page UI and fix a broken API endpoint in the test utility.
llm_provider_setup.spec.tsfor new UI (page title, button labels, settings/trash icon buttons, delete confirmation modal, default model dropdown)OnyxApiClient.setProviderAsDefaultto call the correctPOST /api/admin/llm/defaultendpoint with{ provider_id, model_name }body (was calling non-existent/admin/llm/provider/{id}/default)Additional Options
Summary by cubic
Updates LLM provider e2e tests for the new LLM Models UI and more reliable cleanup. Covers Connect flow, Settings/Trash actions, delete confirmation, and the Default Model card; mocks the test endpoint and uses the correct default-provider API with model selection.
New Features
Bug Fixes
Written for commit f0397a1. Summary will update on new commits.