litellm/tests/e2e/ui
yuneng-jiang c4a4317db1
refactor(ui): move MCP Tool Search, MCP Semantic Filter, and Web Search Interception settings onto the form kit (#54449)
* test(ui): cover saving MCP tool search settings end to end

Adds Playwright coverage for the Tool Search tab on the MCP Servers page:
the exact PATCH body a prefilled edit sends and the values shown after a
reload, Top K clamping to the largest value the proxy accepts, and a failed
save that keeps the edits and succeeds on retry.

* refactor(ui): move MCP tool search settings onto the form kit

The Tool Search form on the MCP Servers page now uses useZodForm with a zod
schema beside it. The schema accepts every value the fields can hold, so the
form rejects nothing it accepted before. The existing helpers move unchanged
from toolSearchForm.ts to mapper.ts, and its unit test moves with them.

* test(ui): wait for the clamped Top K save to finish before cleanup

The clamp test returned as soon as it had checked the request body, so the
afterEach reset could land before the UI's save and leave top_k at 100 for
the rest of the suite. It now waits for the success toast.

* test(ui): cover web search and semantic filter settings

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(ui): wait for the restored web search provider

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(ui): isolate settings fixture readiness

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(ui): move semantic filter and web search settings onto the form kit

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-25 11:35:15 -08:00
..
fixtures test(e2e): expect the Admin Settings heading on the admin page (#53545) 2026-11-22 07:53:30 +00:00
helpers refactor(ui): move MCP Tool Search, MCP Semantic Filter, and Web Search Interception settings onto the form kit (#54449) 2026-11-25 11:35:15 -08:00
oidc fix(auth): give UI/CLI session tokens their own AES-GCM context and header-safe shape (#43790) 2026-09-29 18:42:24 -07:00
tests refactor(ui): move MCP Tool Search, MCP Semantic Filter, and Web Search Interception settings onto the form kit (#54449) 2026-11-25 11:35:15 -08:00
constants.ts test(e2e): wait for serving propagation in UI journeys 2026-09-11 10:25:43 -07:00
globalSetup.ts feat(ui)!: remove Projects toggle and align Enterprise access (#49391) 2026-11-17 20:16:36 -08:00
integration.config.ts ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
migration.serverRootPath.config.ts ci: run every CircleCI check from the integration workflow (#45938) 2026-10-11 07:39:16 -07:00
migration.serverRootPath.globalSetup.ts
oidcSetup.ts test: bind management E2E callers and isolate JWT actors 2026-09-12 13:29:04 -07:00
package-lock.json test(e2e-ui): check the MCP Tools tab against the upstream's own tools/list (#42397) 2026-09-21 20:35:30 -07:00
package.json test(e2e-ui): check the MCP Tools tab against the upstream's own tools/list (#42397) 2026-09-21 20:35:30 -07:00
playwright.config.ts fix(auth): give UI/CLI session tokens their own AES-GCM context and header-safe shape (#43790) 2026-09-29 18:42:24 -07:00
playwright.oidc.config.ts test: bind management E2E callers and isolate JWT actors 2026-09-12 13:29:04 -07:00
run_e2e.sh chore: move ui and vscode-extension under litellm and delete docs (#50992) 2026-11-12 04:19:57 +00:00
tsconfig.json