litellm/tests/e2e/ui
Yuneng Jiang 593fa5921a
test(e2e/ui): wait for the filtered budget list before clicking a row action
All three budget specs searched by typing into the search box and moved on
immediately. The search is debounced 300ms, and while the filtered query is in
flight react-query serves the previous page as placeholder data, which the list
hook reports as isLoading, which makes the table swap its whole body for
skeleton rows.

So the row assertion passed against the pre-search rows, and roughly 300ms later
the skeleton swap unmounted the row the spec had just opened the action menu on.
Playwright logged "element is not stable" twice and then "element was detached
from the DOM", and since the menu never reopened the click burned the full 15s
action timeout on all three attempts. Losing that race was pure timing: build
386 and build 387 of the UI suite ran the same commit 4b368bf066, and 386
passed where 387 failed on this spec plus "Delete a budget"

searchForBudget now waits for the GET that carries q=<budget id>, matching what
projectDetachment.spec.ts already does for a key search. That also gives the row
assertion something real to assert, since until now it could pass without the
search having filtered anything
2026-09-17 21:39:22 -07:00
..
fixtures fix(e2e): onboard dashboard fixtures through invitations 2026-09-15 17:44:18 -07:00
helpers fix(e2e): onboard dashboard fixtures through invitations 2026-09-15 17:44:18 -07:00
tests test(e2e/ui): wait for the filtered budget list before clicking a row action 2026-09-17 21:39:22 -07:00
constants.ts test(e2e): wait for serving propagation in UI journeys 2026-09-11 10:25:43 -07:00
globalSetup.ts fix(e2e): onboard dashboard fixtures through invitations 2026-09-15 17:44:18 -07:00
integration.config.ts test: add extension and browser integration contracts 2026-09-16 13:15:53 -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
oidcSetup.ts test: bind management E2E callers and isolate JWT actors 2026-09-12 13:29:04 -07: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: add extension and browser integration contracts 2026-09-16 13:15:53 -07:00
playwright.oidc.config.ts test: bind management E2E callers and isolate JWT actors 2026-09-12 13:29:04 -07:00
run_e2e.sh fix(e2e/ui): fail the run when the Presidio fixture never comes up 2026-09-06 03:13:09 -07:00
tsconfig.json test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00