From 4d9422a434527c91a8e1ec9bb62a86e51ea93feb Mon Sep 17 00:00:00 2001 From: lingniu Date: Sat, 4 Jul 2026 04:58:27 +0800 Subject: [PATCH] feat(platform): label dashboard protocols as evidence --- vehicle-data-platform/apps/web/src/pages/Dashboard.tsx | 4 ++-- vehicle-data-platform/apps/web/src/test/App.test.tsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vehicle-data-platform/apps/web/src/pages/Dashboard.tsx b/vehicle-data-platform/apps/web/src/pages/Dashboard.tsx index 57acc58d..5bcbbd44 100644 --- a/vehicle-data-platform/apps/web/src/pages/Dashboard.tsx +++ b/vehicle-data-platform/apps/web/src/pages/Dashboard.tsx @@ -153,12 +153,12 @@ export function Dashboard({ onOpenVehicle, onOpenQuality, onOpenVehicles }: { on - + { expect(screen.getByText('暂无来源车辆')).toBeInTheDocument(); expect(screen.getByText('461')).toBeInTheDocument(); expect(screen.getByText('身份未绑定')).toBeInTheDocument(); + expect(screen.getByText('来源证据在线分布')).toBeInTheDocument(); expect(fetchMock).toHaveBeenCalledWith('/api/vehicle-service/summary', undefined); });