litellm/ui/litellm-dashboard/e2e_tests
ryan-crabbe-berri 3fc73c1aff
test(ui): scrub stale return-url cookie from e2e storageState (#30317)
The login flow stores a post-login return URL in the litellm_return_url
cookie (5 minute TTL). globalSetup snapshots cookies into the per-role
storageState that every spec reuses, so when the snapshot races ahead
of the app consuming that cookie, each test inheriting it gets
redirected to the stale URL (/ui/?login=success) mid-assertion the
first time it mounts a page. That one rogue navigation is behind the
recurring e2e failures whose call logs all show "navigated to
/ui/?login=success" while waiting for an element; which specs die
varies run to run with snapshot timing. Clear the cookie right before
saving the snapshot so no test starts with a pending redirect.
2026-06-22 18:11:05 -07:00
..
fixtures feat(ui): migrate api-keys landing to App Router path route (#30699) 2026-06-18 17:38:07 -07:00
helpers feat(proxy): enforce key/team guardrails on bedrock passthrough routes (#30194) 2026-06-12 07:23:29 -07:00
tests feat(ui): migrate api-keys landing to App Router path route (#30699) 2026-06-18 17:38:07 -07:00
constants.ts test(e2e): assert internal-user navbar identity is scoped to that user (#29077) 2026-05-30 00:29:30 -07:00
globalSetup.ts test(ui): scrub stale return-url cookie from e2e storageState (#30317) 2026-06-22 18:11:05 -07:00
migration.serverRootPath.config.ts test(ui): data-driven App Router migration E2E smoke (default + server-root-path) (#29974) 2026-06-09 10:40:01 -07:00
playwright.config.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
run_e2e.sh test(e2e): cover PROXY_LOGOUT_URL redirect on Logout (#29080) 2026-05-30 18:19:04 -07:00
serverRootPath.config.ts refactor(ui): extract auth state into AuthContext (#28910) 2026-05-26 17:53:03 -07:00