chore(test): remove dead old Playwright e2e suite#28632
Conversation
The Playwright suite under tests/proxy_admin_ui_tests/e2e_ui_tests/ is no longer wired into CI (only test_*.py is globbed) and every active spec is duplicated by ui/litellm-dashboard/e2e_tests/tests/ (login, auth redirect, search users, internal user list). team_admin.spec.ts was entirely commented out. Removing the directory plus its only-used-here playwright config, package.json/lock, and utils/login.ts keeps the canonical suite under ui/litellm-dashboard/e2e_tests/ as the single source of truth.
Greptile SummaryRemoves the unused Playwright e2e suite under
Confidence Score: 5/5Pure deletion of dead, unreferenced test files — no production code or active CI paths are touched. Every deleted file was confirmed unreferenced in CI and the broader codebase. The modern ui/litellm-dashboard/e2e_tests/ suite covers the same scenarios, and the Python tests in tests/proxy_admin_ui_tests/ are untouched. Nothing here can regress runtime behavior. No files require special attention.
|
| Filename | Overview |
|---|---|
| tests/proxy_admin_ui_tests/e2e_ui_tests/login_to_ui.spec.ts | Deleted — login spec superseded by ui/litellm-dashboard/e2e_tests/tests/login/login.spec.ts |
| tests/proxy_admin_ui_tests/e2e_ui_tests/require_auth_for_dashboard.spec.ts | Deleted — auth redirect spec superseded by ui/litellm-dashboard/e2e_tests/tests/auth/unauthenticatedRedirect.spec.ts |
| tests/proxy_admin_ui_tests/e2e_ui_tests/search_users.spec.ts | Deleted — search users spec superseded by ui/litellm-dashboard/e2e_tests/tests/users/searchUsers.spec.ts |
| tests/proxy_admin_ui_tests/e2e_ui_tests/team_admin.spec.ts | Deleted — was entirely commented-out dead code since landing; no coverage lost |
| tests/proxy_admin_ui_tests/e2e_ui_tests/view_internal_user.spec.ts | Deleted — superseded by ui/litellm-dashboard/e2e_tests/tests/users/viewInternalUsers.spec.ts |
| tests/proxy_admin_ui_tests/e2e_ui_tests/view_user_info.spec.ts | Deleted — ad-hoc admin user-info click test with no direct equivalent; minor coverage gap noted in PR description |
| tests/proxy_admin_ui_tests/package.json | Deleted — only served the removed e2e suite; no other consumers |
| tests/proxy_admin_ui_tests/package-lock.json | Deleted — lockfile for the removed package.json |
| tests/proxy_admin_ui_tests/playwright.config.ts | Deleted — old Playwright config that was only used by the removed specs |
| tests/proxy_admin_ui_tests/utils/login.ts | Deleted — login utility only referenced by the removed specs |
| tests/proxy_admin_ui_tests/e2e_ui_tests/redirect-fail-screenshot.png | Deleted — artifact screenshot committed alongside the now-removed spec |
Reviews (1): Last reviewed commit: "chore(test): remove dead old Playwright ..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
6439899
into
litellm_internal_staging
The Playwright suite under tests/proxy_admin_ui_tests/e2e_ui_tests/ is no longer wired into CI (only test_*.py is globbed) and every active spec is duplicated by ui/litellm-dashboard/e2e_tests/tests/ (login, auth redirect, search users, internal user list). team_admin.spec.ts was entirely commented out. Removing the directory plus its only-used-here playwright config, package.json/lock, and utils/login.ts keeps the canonical suite under ui/litellm-dashboard/e2e_tests/ as the single source of truth.
Summary
Deletes the unused Playwright suite under
tests/proxy_admin_ui_tests/e2e_ui_tests/along with its only-used-hereplaywright.config.ts,package.json/ lockfile, andutils/login.ts. Nothing in CI runs these specs (the CircleCIe2e_ui_testingjob globstests/proxy_admin_ui_tests/**/test_*.py— Python only — and runs the modern Playwright suite underui/litellm-dashboard/e2e_tests/). The Python unit tests directly undertests/proxy_admin_ui_tests/(test_key_management.py,test_role_based_access.py, etc.) are untouched.Every active spec being removed is already duplicated by the modern suite at
ui/litellm-dashboard/e2e_tests/tests/:login_to_ui.spec.ts↔login/login.spec.tsrequire_auth_for_dashboard.spec.ts↔auth/unauthenticatedRedirect.spec.tssearch_users.spec.ts↔users/searchUsers.spec.tsview_internal_user.spec.ts↔users/viewInternalUsers.spec.tsview_user_info.spec.ts— ad-hoc admin user-info click; not in the QA migration listteam_admin.spec.ts— entirely commented out, dead since landingThis keeps
ui/litellm-dashboard/e2e_tests/as the single source of truth for UI e2e and removes a confusing second config that was easy to mistake for active coverage.Test plan
grep -rn "proxy_admin_ui_tests/e2e_ui_tests\|e2e_ui_tests"returns no hits in.circleci/, scripts, docs, or remaining test filestests/proxy_admin_ui_tests/**/test_*.py(Python only) — unaffectedui/litellm-dashboard/e2e_tests/run_e2e.shstill runs againstui/litellm-dashboard/e2e_tests/playwright.config.tsRefs LIT-3093 (E2E test coverage tracking).