From 78f234d1d36b56d1bae1d96e7579b18a67f4a79d Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期三, 02 九月 2026 11:30:28 +0800
Subject: [PATCH] 移除前端接收区间与补采展示
---
tests/test-ticket23-console-step-regression.test.mjs | 24 +++++++++---------------
1 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/tests/test-ticket23-console-step-regression.test.mjs b/tests/test-ticket23-console-step-regression.test.mjs
index 0bcb171..5d406ed 100644
--- a/tests/test-ticket23-console-step-regression.test.mjs
+++ b/tests/test-ticket23-console-step-regression.test.mjs
@@ -13,8 +13,7 @@
assert.match(view, /计划 \{\{ plannedCycleCount \|\| '-' \}\}/)
assert.doesNotMatch(view, /<strong>工步数据<\/strong><span>STEP SUMMARY<\/span>/)
assert.doesNotMatch(view, /visibleStepRows/)
-assert.match(view, /:logic-step-mappings="backendDetail\.logicStepMappings"/)
-assert.match(view, /:plan-steps="backendDetail\.planSteps"/)
+assert.match(view, /logicStepMappings/)
assert.match(view, /selectedPlanSteps/)
assert.match(view, /合并选中/)
assert.match(view, /解除合并/)
@@ -23,26 +22,21 @@
assert.match(view, /const grouped = mapping \? physicalSteps\.filter/)
assert.match(view, /const physical = physicalSteps\.find\(item => item\.stepNo === row\.stepNo && item\.stepName === row\.stepName\) \|\| physicalSteps\.find\(item => item\.stepNo === row\.stepNo\)/)
assert.match(view, /displayRows\.push\(\{ no: mapping\?\.logicalNo \|\| row\.stepNo/)
-assert.match(dataList, /mappingForPosition\(position: number\)/)
assert.match(dataList, /起始电压\(V\)/)
assert.match(dataList, /放电谷值\(V\)/)
-assert.match(dataList, /sourceIds: group\.map\(item => item\.id\)/)
assert.match(dataList, /<th>工步<\/th>/)
assert.doesNotMatch(dataList, /<th>逻辑工步<\/th>/)
assert.doesNotMatch(dataList, /<th>实际工步<\/th>/)
-assert.match(dataList, /capacity: sumValue\('capacity'\)\.toFixed\(4\)/)
-assert.match(dataList, /energy: sumValue\('energy'\)\.toFixed\(4\)/)
-assert.match(dataList, /planSteps\?:/)
-assert.match(dataList, /plannedStepPositions/)
-assert.match(dataList, /const observedStepPositions = computed\(\(\) => \{/)
-assert.match(dataList, /observedStepPositions\.value\.get\(`\$\{row\.batteryNo\}:\$\{row\.cycleNo\}:\$\{row\.stepNo\}`\)/)
-assert.match(dataList, /const observed = observedStepPositions\.value\.get/)
-assert.match(dataList, /if \(observed !== undefined\) return observed/)
-assert.match(dataList, /cyclePositionFor\(row\)/)
-assert.match(dataList, /activeTab\.value === 'step' \? mappedStepRows\.value/)
+assert.match(dataList, /activeTab\.value === 'step' \? stepRows\.value/)
+assert.doesNotMatch(view, /:logic-step-mappings=/)
+assert.doesNotMatch(view, /:plan-steps=/)
+assert.doesNotMatch(dataList, /mappedStepRows/)
+assert.doesNotMatch(dataList, /observedStepPositions/)
+assert.doesNotMatch(dataList, /sumValue\('capacity'\)/)
+assert.doesNotMatch(dataList, /logical-step:/)
assert.match(dataList, /const filteredRows = computed\(\(\) =>\n sourceRows\.value\.filter/)
assert.match(dataList, /:total="filteredRows\.length"/)
-assert.match(dataList, /receptionIntervals/)
+assert.doesNotMatch(dataList, /receptionIntervals/)
assert.match(dataList, /physicalIds/)
assert.match(dataList, /props\.receptionStatus === 'NOT_STARTED'/)
assert.match(liveService, /simulator\.btsTest\(battery\.getBinding\(\)\.getDevid\(\), battery\.getBinding\(\)\.getChlid\(\), 1\)/)
--
Gitblit v1.7.1