mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
* 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> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| tests | ||
| constants.ts | ||
| globalSetup.ts | ||
| migration.serverRootPath.config.ts | ||
| migration.serverRootPath.globalSetup.ts | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| run_e2e.sh | ||
| tsconfig.json | ||