修复业务测试:MarketTable→CityRegionList 组件名同步
This commit is contained in:
@@ -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",
|
||||
|
||||
+2
-2
@@ -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")') &&
|
||||
|
||||
+2
-2
@@ -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") &&
|
||||
|
||||
Reference in New Issue
Block a user