litellm/ui/litellm-dashboard/e2e_tests/tests
ryan-crabbe-berri d97b17b161
feat(ui): migrate models page to App Router path route (#30677)
* feat(ui): migrate models page to App Router path route

Cut the Models + Endpoints page over from the legacy ?page=models switch
in (dashboard)/page.tsx to a path route at (dashboard)/models-and-endpoints.
Adding the MIGRATED_PAGES entry repoints the sidebar link and redirects old
?page=models bookmarks to /ui/models-and-endpoints.

ModelsAndEndpointsView already sourced identity from useAuthorized() and its
own data via useModelsInfo(), so the token/keys/modelData/setModelData props
were dead; drop them from ModelDashboardProps (and the parent's now-unused
setModelData state) to sever the last of the shared-state coupling.

* test(ui): scope migration smoke's shell probe to the exact sidebar link

The migration smoke used a loose `locator("a", { hasText: "Virtual Keys" })`
to assert the dashboard shell rendered. The Models + Endpoints page content
itself links to the "Virtual Keys page", so on that route the substring filter
matched two anchors and tripped Playwright strict mode. Match the sidebar link
by its exact accessible name instead, which resolves to just the nav item.
2026-06-17 18:10:31 -07:00
..
auth style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
internal-user style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
internal-viewer style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
login refactor(ui): centralize proxy base URL resolution into tested resolver (#29793) 2026-06-05 11:53:26 -07:00
mcp feat(mcp): per-server env vars with global + per-user scopes (#28917) 2026-06-05 20:15:11 -07:00
migration feat(ui): migrate models page to App Router path route (#30677) 2026-06-17 18:10:31 -07:00
modelHub style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
modelsPage style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
navigation feat(ui): migrate playground to path routing and colocate its files (#30185) 2026-06-11 12:07:17 -07:00
proxy-admin style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
settings style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
team-admin style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
users Neon Branch on every commit + skip flaky tests 2026-01-09 23:25:42 -08:00