litellm/ui
Cursor Agent 0eddde3af7
test(ui): scope the workflows role-gate assertion to workflow URLs
useCan grew a useIsOrgAdmin leg that runs useOrganizations, so every
capability check issues GET /organization/list regardless of the role
or capability. #35176 relaxed the memory and guardrails-monitor gate
tests to only look at their own endpoints but missed the workflows
one, leaving CI red on litellm_internal_staging.

Match the neighbours: drop the fetchMock-not-called assertion and
scope the waitFor to /v1/workflows URLs, which is what this test is
actually protecting.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-08-13 14:30:40 +00:00
..
litellm-dashboard test(ui): scope the workflows role-gate assertion to workflow URLs 2026-08-13 14:30:40 +00:00
Dockerfile chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
nginx.conf fix(ui): serve /ui/assets from the nginx image instead of SPA fallback (#34066) 2026-07-21 09:22:02 -07:00