litellm/tests/e2e/ui/tests
yuneng-jiang 3c28f4bf1e
fix(ui): show the budget spend limit and rate limits without a collapsed section (#47662)
* fix(ui): show the budget spend limit and rate limits without a collapsed section

The create and edit budget dialogs hid max budget and reset period behind a collapsed Optional Settings section that sat 80px below the last field, and dropped both values from the request unless the section was open on submit

Both dialogs now share BudgetFormFields. Budget ID comes first, then the spend limit as one row ("$500 per month"), then the three rate limits as short fields beside their labels. A secondary Optional badge marks the spend limit and the rate limits group, so people can still tell those fields are optional. Every field is always submitted, and the edit dialog sends the existing spend limit and reset period back unchanged

* fix(ui): send only changed fields when editing a budget

Saving the edit budget dialog resent every field, so an unrelated rate
limit edit rounded a stored sub-cent spend limit to 2 decimals (0.001
became 0) and resent the reset period, which makes the proxy recompute
the next reset for custom durations. The dialog now sends the budget ID
plus the fields the user changed, and the proxy keeps everything else.

Also updates the budgets Playwright spec for the new field labels and
the removed Optional Settings section.

* fix(ui): track budget edit changes from render so a reverted field cannot hide a later one

react-hook-form's formState is a render-time snapshot. Reading dirtyFields
only inside the submit handler meant that after a field was changed and
changed back, a later edit to another field was missing from the first
save. Reading dirtyFields during render keeps the snapshot current.

* refactor(ui): rename the budget components to PascalCase

Renames budget_modal, edit_budget_modal and budget_panel (and their tests) to BudgetModal, EditBudgetModal and BudgetPanel, and drops their filename-pascal-case suppressions.
2026-10-20 17:58:05 -07:00
..
auth test(ui): wait for the logout navigation before checking the session is gone (#47008) 2026-10-16 15:46:10 -07:00
budgets fix(ui): show the budget spend limit and rate limits without a collapsed section (#47662) 2026-10-20 17:58:05 -07:00
guardrails feat(ui): redesign the playground chat around a single composer and inspector (#46934) 2026-10-16 14:04:36 -07:00
integrationCritical test(ui): send Connection: close on every integration browser request (#46805) 2026-10-16 01:11:57 +00:00
internal-user test(ui-e2e): read the virtual key from its own pre in the Save your Key dialog (#47408) 2026-10-19 15:06:35 -07:00
internal-viewer test(e2e): assert user-observable behavior instead of DOM structure 2026-08-31 14:04:15 -07:00
login fix(e2e/ui): resolve dashboard base URL from env instead of hardcoding localhost (#34739) 2026-07-27 10:19:32 -07:00
logs ci: run every CircleCI check from the integration workflow (#45938) 2026-10-11 07:39:16 -07:00
mcp test: fix stale and flaky tests across CircleCI, GHA and Buildkite (#45530) 2026-10-09 11:40:14 -07:00
migration fix(ci): isolate integration workers and repair test fixtures (#45863) 2026-10-11 01:56:02 -07:00
modelHub fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
modelsPage feat(ui): add the 1 hour cache write cost to the add model and model edit forms (#46830) 2026-10-16 13:44:24 -07:00
navigation test(ui): assert navigation through accessible links and page content 2026-09-06 00:59:18 -07:00
playground feat(ui): redesign the playground chat around a single composer and inspector (#46934) 2026-10-16 14:04:36 -07:00
prompts test(ui): address review feedback 2026-09-17 23:46:53 -07:00
proxy-admin test(ui-e2e): read the virtual key from its own pre in the Save your Key dialog (#47408) 2026-10-19 15:06:35 -07:00
settings test(e2e): drop redundant SCIM key cleanup, the throwaway db is the teardown 2026-08-31 15:36:35 -07:00
tables test: repair two CI tests broken by intentional changes 2026-09-05 12:02:48 -07:00
tagManagement test(ci): repair stale tests and flaky CI infrastructure (#43983) 2026-10-01 17:46:43 +00:00
team-admin test(ui-e2e): read the virtual key from its own pre in the Save your Key dialog (#47408) 2026-10-19 15:06:35 -07:00
usage test: update stale MCP call_tool and usage card assertions, add timeout headroom to request-log index boot test (#45523) 2026-10-08 23:44:46 -07:00
users test(e2e): match the Internal Users search placeholder shipped by #39604 2026-09-03 16:57:10 -07:00