test: 标记物理箱全链路验收完成

This commit is contained in:
2026-09-17 10:21:46 +08:00
parent 9ab1c328ba
commit bf8256a817
2 changed files with 2 additions and 0 deletions
@@ -251,4 +251,5 @@ test('overseas receipt uses scoped PDA identity and scans each physical pallet o
assert.match(source, /Number\(inbound.receivedPackages\) === item.expectedCartonMarks.length/)
assert.match(source, /completed.status === 'COMPLETED'/)
assert.match(source, /fullFlowVerified: false/)
assert.match(source, /stage = 'PHYSICAL_CARTON_OUTBOUND_COMPLETED'[\s\S]*?fullFlowVerified = true/)
})
@@ -644,6 +644,7 @@ async function runWorkflow(context, stopBeforeOverseasPda, mixedContainer = fals
await receiveOverseas(group)
}
context.createdResources.dropshipPalletMatrix.stage = 'PHYSICAL_CARTON_OUTBOUND_COMPLETED'
context.createdResources.dropshipPalletMatrix.fullFlowVerified = true
return
}
if (mixedContainer) {