test(firstleg): finish task evidence migration

This commit is contained in:
2026-09-01 14:48:51 +08:00
parent 76d2da5bf9
commit a10e32a012
4 changed files with 8 additions and 4 deletions
@@ -24,6 +24,8 @@ test('AWAITING_REVIEW derives zero client actions and never needs a repeated bat
assert.match(convergence, /pending 与 detail 使用同一 workflowStatus 和未完成数量事实/)
assert.match(convergence, /AWAITING_REVIEW 已全拣任务 actions 为空且不再提交 batch/)
assert.match(convergence, /AWAITING_REVIEW 可进入装柜取证只读入口/)
assert.match(convergence, /\$\{taskPath\}\/evidence\?warehouseId=\$\{encodeURIComponent\(warehouseId\)\}/)
assert.doesNotMatch(convergence, /api\/platform\/v1\/inbounds\/\$\{inboundId\}\/loading\/evidence/)
assert.match(convergence, /filter\(\(item\) => item\.actionType === 'BATCH'/)
assert.match(convergence, /expectedBatchOperationIds\.length === 4/)
assert.match(convergence, /actualBatchOperationIds\.length === 4/)