yeg
2026-09-02 78f234d1d36b56d1bae1d96e7579b18a67f4a79d
tests/test-ticket23-console-step-regression.test.mjs
@@ -13,17 +13,30 @@
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, /logicStepMappings/)
assert.match(view, /selectedPlanSteps/)
assert.match(view, /合并选中/)
assert.match(view, /解除合并/)
assert.match(view, /startStepNo: positions\[0\], endStepNo: positions\[positions\.length - 1\]/)
assert.match(dataList, /mappingForPosition\(position: number\)/)
assert.match(dataList, /逻辑工步/)
assert.match(view, /const planRows = computed<PlanDisplayStep\[\]>\(\(\) => \{/)
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, /起始电压\(V\)/)
assert.match(dataList, /放电谷值\(V\)/)
assert.match(dataList, /sourceIds: group\.map\(item => item\.id\)/)
assert.match(dataList, /receptionIntervals/)
assert.match(dataList, /<th>工步<\/th>/)
assert.doesNotMatch(dataList, /<th>逻辑工步<\/th>/)
assert.doesNotMatch(dataList, /<th>实际工步<\/th>/)
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.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\)/)