优化
This commit is contained in:
@@ -62,3 +62,14 @@ test('overseas plans preserve per-inbound ownership and shared physical identity
|
||||
assert.match(source, /byPallet.get\(pallet.palletNo\) === identity/)
|
||||
assert.match(source, /JSON.stringify\(replay\) === JSON.stringify\(plans\)/)
|
||||
})
|
||||
|
||||
test('overseas receipt uses scoped PDA identity and scans each physical pallet once', () => {
|
||||
assert.match(source, /await createPicker\(context/)
|
||||
assert.match(source, /await disablePicker\(context/)
|
||||
assert.match(source, /const sourceNos = \[\.\.\.new Set\(group.flatMap/)
|
||||
assert.match(source, /current\/receipts\/pallet/)
|
||||
assert.match(source, /duplicate.result === 'ALREADY_RECEIVED'/)
|
||||
assert.match(source, /Number\(inbound.receivedPackages\) === item.expectedCartonMarks.length/)
|
||||
assert.match(source, /completed.status === 'COMPLETED'/)
|
||||
assert.match(source, /fullFlowVerified: false/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user