fix: bound leadership dashboard filtering
This commit is contained in:
1 parent
d034f649c4
commit
3062ed5f04
8 files changed
+389
-175
No files matched your search
@@ -135,7 +135,6 @@ test('operations dashboard is leadership-gated, business-facing, searchable, and
|
||||
assert.match(tasks, /operations_dashboard_search_scope_too_large/);
|
||||
assert.match(tasks, /function operationsDashboardRouteFromInstruction/);
|
||||
assert.match(tasks, /function operationsDashboardRouteFromOperation/);
|
||||
assert.match(tasks, /function operationsDashboardNeedsInstructionForType/);
|
||||
assert.match(tasks, /if \(search && candidateResult\.rows\.length > 2_000\)/);
|
||||
assert.match(tasks, /OPERATIONS_DASHBOARD_FALLBACK_TYPES/);
|
||||
assert.match(tasks, /dashboard_order_delete/);
|
||||
@@ -173,6 +172,7 @@ test('operations dashboard is leadership-gated, business-facing, searchable, and
|
||||
assert.match(server, /app\.get\('\/api\/operations-dashboard'[\s\S]+requireLeadershipSession\(request\)/);
|
||||
assert.match(server, /business_route_id: z\.string\(\)\.trim\(\)\.max\(120\)\.optional\(\)/);
|
||||
assert.match(server, /businessRouteId: query\.business_route_id/);
|
||||
assert.match(server, /signal: controller\.signal/);
|
||||
assert.match(server, /app\.get\('\/api\/operations-dashboard\/tasks\/:taskId'[\s\S]+requireLeadershipSession\(request\)/);
|
||||
assert.match(server, /read_only: true/);
|
||||
assert.doesNotMatch(server, /app\.(?:post|put|patch|delete)\('\/api\/operations-dashboard/);
|
||||
|
||||
Reference in new issue
Block a user