litellm/ui/litellm-dashboard/e2e_tests/tests
ryan-crabbe-berri 1cc70f84c0
fix(ui): distinguish response cache from provider prompt caching (#34138)
* fix(ui): distinguish response cache from provider prompt caching

The log detail drawer labeled LiteLLM's response cache result as
"Cache Hit" and rendered a red "false" tag next to provider prompt
cache token counts, which read as prompt caching being broken. The
row is now labeled "Response Cache" with an explanatory tooltip,
shows a neutral "Miss" tag instead of a red one, and the prompt
cache token rows are prefixed with "Prompt Cache" and get their own
tooltips. Cost breakdown line items get the same prefix.

The Caching dashboard only reports response cache analytics but never
said so; it is renamed to "Response Cache" in the sidebar, gains a
scope description pointing to the Usage page and Logs for prompt
caching, and the ambiguous "Cached Tokens" stat card is renamed to
"Cached Completion Tokens".

* test(ui): cover renamed Response Cache sidebar item in e2e

The sidebar navigation spec now clicks the renamed "Response Cache"
item and asserts it routes to /ui/caching, and the menu label fixture
maps the new label while keeping "Caching" as a legacy alias.
Verified by running sidebar.spec.ts through run_e2e.sh (full harness:
built UI served by the proxy, seeded postgres); both tests pass.

* feat(ui): link cache tooltips and dashboard description to docs

The Response Cache tooltip links to the proxy caching docs and the
two prompt cache token tooltips link to the prompt caching docs, so
users can jump straight to the explanation of whichever mechanism
they are looking at. The Response Cache dashboard description links
both docs pages the same way.
2026-07-21 14:26:26 -07:00
..
auth feat(ui): add redesigned sidebar account menu (#32931) 2026-07-11 14:30:04 -07:00
internal-user fix(ui): keep the account menu in agent-plane mode and update e2e for the new sidebar 2026-07-10 11:51:23 -07:00
internal-viewer style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
login feat(ui): add redesigned sidebar account menu (#32931) 2026-07-11 14:30:04 -07:00
mcp feat(mcp): per-server env vars with global + per-user scopes (#28917) 2026-06-05 20:15:11 -07:00
migration fix(ui): keep the account menu in agent-plane mode and update e2e for the new sidebar 2026-07-10 11:51:23 -07:00
modelHub style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
modelsPage fix(ui): stop credential edit from persisting the masked api key (#33797) 2026-07-17 18:25:24 -07:00
navigation fix(ui): distinguish response cache from provider prompt caching (#34138) 2026-07-21 14:26:26 -07:00
proxy-admin feat(ui): rebuild the Teams table on the shared DataTable (#33128) 2026-07-13 17:47:14 -07:00
settings fix(ui): scope the remaining e2e nav lookups to the new sidebar 2026-07-10 12:27:34 -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