test: repair two CI tests broken by intentional changes

test_no_linear_scans_in_router: #39674 renamed heuristic_v2_router_limit_violation
to auto_router_capability_violation, so the allowlist entry stopped matching and the
same admin-only scan tripped the static check. Rename the entry to follow it.

tableScrolling.spec.ts: 9ba6cab889 (LIT-4738) gave the Tags and Model Hub tables
client-side pagination at 25 rows, so the 40 seeded rows no longer render on one
page. Select 50 rows per page before counting, as the Logs case already does.
This commit is contained in:
Yuneng Jiang 2026-09-05 12:02:48 -07:00
parent 95a1d301b6
commit da5af0cb27
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -184,6 +184,7 @@ test.describe("Admin tables scroll inside the page", () => {
);
try {
await navigateToPage(page, Page.TagManagement);
await setRowsPerPage(page, "50");
await expectRowsAtLeast(page, SEED_ROWS);
expect(await rowsPaintingPastAnAncestor(page)).toEqual([]);
} finally {
@ -207,6 +208,7 @@ test.describe("Admin tables scroll inside the page", () => {
);
try {
await navigateToPage(page, Page.ModelHubTable);
await setRowsPerPage(page, "50");
await expectRowsAtLeast(page, SEED_ROWS);
expect(await rowsPaintingPastAnAncestor(page)).toEqual([]);
} finally {

View file

@ -241,7 +241,7 @@ class TestRouterIndexManagement:
"_get_deployment_by_litellm_model": "lookup by litellm_params.model, which is not indexed",
"_finalize_adaptive_router_if_configured": 'init-time prefix scan for "auto_router/adaptive_router"; no index for prefix match',
"config_deployments": "filters the whole list on model_info.db_model; admin path only (model add/upsert)",
"heuristic_v2_router_limit_violation": "counts heuristic_v2 routers across the whole list; admin path only (auto-router init/upsert)",
"auto_router_capability_violation": "counts gated auto-routers across the whole list; admin path only (auto-router init/upsert)",
}
# Get path to router.py