litellm/tests/e2e/ui/tests
yuneng-jiang 4c86b1d58c
test(e2e/ui): cover the Usage page activity tabs (#39061)
* test(e2e/ui): cover the Usage page activity tabs

Usage had one test, on Top Virtual Keys. The Key, Model and Endpoint Activity
tabs are the ones an admin reads to answer where the spend went, and none of
them was covered.

Also fixes waitForKeyInDailyActivity, which only read the first page of
/user/daily/activity. The route paginates, so once a run generates more keys
than one page holds, the helper spins for its full 120 seconds and then blames
the rollup for a key the rollup wrote correctly. The Usage page itself already
walks every page; the helper now matches it.

* test(e2e/ui): route the user-creation call through SERVER_ROOT_PATH

Review caught /user/new posting to the server root, which misses the proxy
when it is mounted under a prefix. traffic.ts already had the helper for
this; it is now exported so specs making their own management calls can use
it too.

Also drops the mutable accumulators from the daily-activity paging, which
the repo conventions ask for.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-01 12:36:17 -07:00
..
auth fix(e2e/ui): resolve dashboard base URL from env instead of hardcoding localhost (#34739) 2026-07-27 10:19:32 -07:00
budgets test(e2e/ui): cover the Budgets page create, edit and delete flows (#39052) 2026-09-01 12:17:02 -07:00
guardrails test(e2e/ui): cover creating, testing and deleting a guardrail (#39053) 2026-09-01 12:21:45 -07:00
internal-user test(e2e-ui): assert user-observable behavior instead of DOM structure in audit fixes 2026-08-31 18:15:18 -07:00
internal-viewer test(e2e): assert user-observable behavior instead of DOM structure 2026-08-31 14:04:15 -07:00
login fix(e2e/ui): resolve dashboard base URL from env instead of hardcoding localhost (#34739) 2026-07-27 10:19:32 -07:00
logs test(e2e/ui): cover the Logs page filter drawer (#39056) 2026-09-01 12:34:10 -07:00
mcp test(e2e): assert user-observable behavior instead of DOM structure 2026-08-31 14:04:15 -07:00
migration fix(e2e): assert sidebar expansion without a self-resolving locator 2026-08-31 14:45:11 -07:00
modelHub test(e2e-ui): assert user-observable behavior instead of DOM structure in audit fixes 2026-08-31 18:15:18 -07:00
modelsPage test(e2e/ui): stop the suite failing on things that are not regressions (#39063) 2026-09-01 12:34:57 -07:00
navigation test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00
playground test(e2e/ui): address the migrated dashboard controls by role, not antd classes 2026-08-15 15:37:09 -07:00
proxy-admin test(e2e/ui): cover the team Settings tab (#39058) 2026-09-01 12:35:45 -07:00
settings test(e2e): drop redundant SCIM key cleanup, the throwaway db is the teardown 2026-08-31 15:36:35 -07:00
team-admin test(e2e/ui): stop the suite failing on things that are not regressions (#39063) 2026-09-01 12:34:57 -07:00
usage test(e2e/ui): cover the Usage page activity tabs (#39061) 2026-09-01 12:36:17 -07:00
users fix(e2e): assert the users table's own empty-state copy 2026-08-31 15:57:49 -07:00