From 80729274bca925efb36172c04699a84cf0aee263 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Mon, 25 May 2026 17:07:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=9A=E5=8A=A1=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=EF=BC=9AMarketTable=E2=86=92CityRegionList=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=90=8D=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scan-terminal/__tests__/mobileAnnouncement.test.ts | 2 +- .../scan-terminal/__tests__/removedMonitorRunwayTabs.test.ts | 4 ++-- .../scan-terminal/__tests__/stableServerRefreshPolicy.test.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/components/dashboard/scan-terminal/__tests__/mobileAnnouncement.test.ts b/frontend/components/dashboard/scan-terminal/__tests__/mobileAnnouncement.test.ts index c5b882c4..35190a0c 100644 --- a/frontend/components/dashboard/scan-terminal/__tests__/mobileAnnouncement.test.ts +++ b/frontend/components/dashboard/scan-terminal/__tests__/mobileAnnouncement.test.ts @@ -16,7 +16,7 @@ export function runTests() { const source = fs.readFileSync(dashboardPath, "utf8"); assert( - source.includes("MarketTable") && + source.includes("CityRegionList") && source.includes("decisionLabel") && !source.includes("showAnnouncement"), "v1.5.6 scan upgrade announcement must be removed; new terminal layout must be present", diff --git a/frontend/components/dashboard/scan-terminal/__tests__/removedMonitorRunwayTabs.test.ts b/frontend/components/dashboard/scan-terminal/__tests__/removedMonitorRunwayTabs.test.ts index 95713021..6e9ba0b5 100644 --- a/frontend/components/dashboard/scan-terminal/__tests__/removedMonitorRunwayTabs.test.ts +++ b/frontend/components/dashboard/scan-terminal/__tests__/removedMonitorRunwayTabs.test.ts @@ -43,9 +43,9 @@ export function runTests() { "scan terminal content views must not include market monitor or runway tabs", ); assert( - dashboardSource.includes("MarketTable") && + dashboardSource.includes("CityRegionList") && dashboardSource.includes("decisionLabel"), - "scan terminal must expose new terminal layout components (MarketTable, decisionLabel)", + "scan terminal must expose new terminal layout components (CityRegionList, decisionLabel)", ); assert( !dashboardSource.includes('setActiveView("monitor")') && diff --git a/frontend/components/dashboard/scan-terminal/__tests__/stableServerRefreshPolicy.test.ts b/frontend/components/dashboard/scan-terminal/__tests__/stableServerRefreshPolicy.test.ts index 735e73ba..dad95e86 100644 --- a/frontend/components/dashboard/scan-terminal/__tests__/stableServerRefreshPolicy.test.ts +++ b/frontend/components/dashboard/scan-terminal/__tests__/stableServerRefreshPolicy.test.ts @@ -40,10 +40,10 @@ export function runTests() { "web auto refresh must read cached scan data instead of forcing a full server scan", ); assert( - dashboardSource.includes("MarketTable") && + dashboardSource.includes("CityRegionList") && dashboardSource.includes("Panel") && dashboardSource.includes("decisionLabel"), - "scan terminal must use new institutional terminal layout with MarketTable + decisionLabel", + "scan terminal must use new institutional terminal layout with CityRegionList + decisionLabel", ); assert( airportEvidenceSource.includes("SETTLEMENT_RUNWAY_PAIRS") &&