litellm/ui/litellm-dashboard/e2e_tests/tests
ryan-crabbe-berri 577dd3b707
fix(ui): stop credential edit from persisting the masked api key (#33797)
Editing an existing LLM credential and changing only the api_base also
overwrote the stored api_key with its masked display value (e.g. sk****IA).
The edit form pre-fills fields from the credential the backend returns, whose
secrets come back masked, and the update handler sent every field straight
back; the endpoint then encrypted and stored the asterisks over the real key.

Run credential_values through stripMaskedSecrets before the PATCH so masked
placeholders are never sent, mirroring the guard the model edit form already
uses. The isMaskedSecret / stripMaskedSecrets helpers move out of
model_info_view into a shared utils module so both call sites share one
implementation.

Add a Playwright e2e that seeds a credential, edits only the api base in the
LLM Credentials tab, and asserts the outgoing PATCH no longer carries the
masked api_key while the new base persists.
2026-07-17 18:25:24 -07:00
..
auth feat(ui): add redesigned sidebar account menu (#32931) 2026-07-11 14:30:04 -07:00
internal-user fix(ui): keep the account menu in agent-plane mode and update e2e for the new sidebar 2026-07-10 11:51:23 -07:00
internal-viewer style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
login feat(ui): add redesigned sidebar account menu (#32931) 2026-07-11 14:30:04 -07:00
mcp feat(mcp): per-server env vars with global + per-user scopes (#28917) 2026-06-05 20:15:11 -07:00
migration fix(ui): keep the account menu in agent-plane mode and update e2e for the new sidebar 2026-07-10 11:51:23 -07:00
modelHub style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
modelsPage fix(ui): stop credential edit from persisting the masked api key (#33797) 2026-07-17 18:25:24 -07:00
navigation fix(ui): keep the account menu in agent-plane mode and update e2e for the new sidebar 2026-07-10 11:51:23 -07:00
proxy-admin feat(ui): rebuild the Teams table on the shared DataTable (#33128) 2026-07-13 17:47:14 -07:00
settings fix(ui): scope the remaining e2e nav lookups to the new sidebar 2026-07-10 12:27:34 -07:00
team-admin style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
users Neon Branch on every commit + skip flaky tests 2026-01-09 23:25:42 -08:00