test: 标记物理箱全链路验收完成
This commit is contained in:
@@ -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, /Number\(inbound.receivedPackages\) === item.expectedCartonMarks.length/)
|
||||||
assert.match(source, /completed.status === 'COMPLETED'/)
|
assert.match(source, /completed.status === 'COMPLETED'/)
|
||||||
assert.match(source, /fullFlowVerified: false/)
|
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)
|
await receiveOverseas(group)
|
||||||
}
|
}
|
||||||
context.createdResources.dropshipPalletMatrix.stage = 'PHYSICAL_CARTON_OUTBOUND_COMPLETED'
|
context.createdResources.dropshipPalletMatrix.stage = 'PHYSICAL_CARTON_OUTBOUND_COMPLETED'
|
||||||
|
context.createdResources.dropshipPalletMatrix.fullFlowVerified = true
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (mixedContainer) {
|
if (mixedContainer) {
|
||||||
|
|||||||
Reference in New Issue
Block a user