litellm/ui/litellm-dashboard/e2e_tests/tests
ryan-crabbe-berri 37e6e2da1c
test(e2e): assert internal-user navbar identity is scoped to that user (#29077)
* test(e2e): assert internal-user navbar identity is scoped to that user

The existing login.spec.ts only checks the admin's navbar identity.
This adds the symmetric check for the internal user — verifying the
account button + dropdown surface the internal user's email, id, and
role, and that no admin-scoped values leak through.

* test(e2e): harden navbar identity test per review feedback

Locate the user dropdown panel by a data-testid on the popupRender div
instead of Ant Design internal + Tailwind class names, so styling
refactors no longer risk breaking the identity-scoping assertions.
Source the seeded user emails/ids from shared constants (match seed.sql)
instead of hardcoding them inline.
2026-05-30 00:29:30 -07:00
..
auth test(e2e): cover navbar Logout flow as proxy admin (#29076) 2026-05-29 14:44:38 -07:00
internal-user test(e2e): cover Internal User create-key flow when in no teams (#29083) 2026-05-30 00:26:28 -07:00
internal-viewer test(e2e): cover Internal Viewer nav, key, and team-info gating (#29075) 2026-05-29 14:36:06 -07:00
login test(e2e): assert internal-user navbar identity is scoped to that user (#29077) 2026-05-30 00:29:30 -07:00
mcp test(e2e): cover add-MCP-server flow via discovery → custom form (#29070) 2026-05-27 21:15:31 -07:00
modelHub test(e2e): cover AI Hub make-public flow and public model_hub_table (#29071) 2026-05-27 21:15:40 -07:00
modelsPage test(e2e): cover Team-BYOK add-model flow as proxy admin (#29068) 2026-05-27 16:05:27 -07:00
navigation remove outdated e2e test 2026-03-21 23:14:53 -07:00
proxy-admin test(e2e): cover Internal User key modal, team info, key page (#29074) 2026-05-29 14:36:27 -07:00
settings test(e2e): cover add-fallback flow in Router Settings (#29069) 2026-05-27 15:52:19 -07:00
team-admin test(e2e): cover Team Admin view + member + key flows (#29072) 2026-05-28 23:19:16 -07:00
users Neon Branch on every commit + skip flaky tests 2026-01-09 23:25:42 -08:00