修复业务测试:MarketTable→CityRegionList 组件名同步

This commit is contained in:
2569718930@qq.com
2026-05-25 17:07:58 +08:00
parent 56ddce4be0
commit 80729274bc
3 changed files with 5 additions and 5 deletions
@@ -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",
@@ -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")') &&
@@ -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") &&