litellm/ui/litellm-dashboard/e2e_tests/tests
ryan-crabbe-berri 07bcd2c19e
test(e2e): forward LITELLM_LICENSE to UI e2e proxy (#28398)
* test(e2e): forward LITELLM_LICENSE to UI e2e proxy

The UI e2e job ran without LITELLM_LICENSE, so premium_user was always
false in the issued login JWT and premium-gated UI surfaces (Team-BYOK
Model switch, etc.) couldn't be driven through the UI. Forward the env
var from run_e2e.sh and the CircleCI e2e_ui_testing job, and add a
sanity test that decodes the admin storage state token and asserts
premium_user=true so the wiring fails loudly if it ever regresses.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Update ui/litellm-dashboard/e2e_tests/tests/proxy-admin/license.spec.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-05-21 18:17:03 -07:00
..
auth Fix flaky e2e tests by using regex selectors 2026-03-07 16:43:33 -08:00
login test fixes 2026-02-14 11:33:45 -08:00
modelsPage Address health pagination review feedback 2026-04-29 16:49:25 -07:00
navigation remove outdated e2e test 2026-03-21 23:14:53 -07:00
proxy-admin test(e2e): forward LITELLM_LICENSE to UI e2e proxy (#28398) 2026-05-21 18:17:03 -07:00
settings E2E Test - Can View Admin Setting Page 2026-01-05 19:51:01 -08:00
users Neon Branch on every commit + skip flaky tests 2026-01-09 23:25:42 -08:00