litellm/tests/e2e/ui
ryan-crabbe-berri 462f3d8435 fix(e2e/ui): seed the role users via API in global setup
The five UI login roles only ever existed as rows in fixtures/seed.sql, which
runs solely in the local runner's throwaway postgres. The stage job targets
the shared gateway, whose DB nobody seeds, so the first DB-backed role
(proxy_admin_viewer) got the no-row 401 from /v2/login, global setup timed
out on /ui/login, and playwright exited 1 before a single UI test ran, every
run. Global setup now ensures each role user exists through /user/new with
the master key, falling back to /user/update when the row already exists so
reruns and the seeded local DB stay consistent
2026-07-28 11:01:33 -07:00
..
fixtures fix(e2e/ui): seed the role users via API in global setup 2026-07-28 11:01:33 -07:00
helpers test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00
tests test(e2e): realign Admin UI specs with the MCP dialog and keyless landing (#34870) 2026-07-27 18:11:18 -07:00
constants.ts test(e2e): unblock the ui suite, fix the mcp registration race, park two known product bugs (#34853) 2026-07-27 19:20:57 -07:00
globalSetup.ts fix(e2e/ui): seed the role users via API in global setup 2026-07-28 11:01:33 -07:00
migration.serverRootPath.config.ts fix(e2e/ui): resolve dashboard base URL from env instead of hardcoding localhost (#34739) 2026-07-27 10:19:32 -07:00
migration.serverRootPath.globalSetup.ts test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00
package-lock.json test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00
package.json test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00
playwright.config.ts test(e2e): unblock the ui suite, fix the mcp registration race, park two known product bugs (#34853) 2026-07-27 19:20:57 -07:00
run_e2e.sh test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00
tsconfig.json test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00