test: complete dropship palletization before smart loading
This commit is contained in:
@@ -61,7 +61,7 @@ test('demo package keeps pallet pages bounded and historical snapshots read-only
|
||||
})
|
||||
|
||||
test('approval freezes measurement and requires quantity weight and volume conservation', () => {
|
||||
assert.match(source, /审核进入WAIT_SPLIT后箱码尺寸与图片快照不可再覆盖/)
|
||||
assert.match(source, /审核及合托完成后箱码尺寸与图片快照不可再覆盖/)
|
||||
assert.match(measurementTests, /approvedMeasurementCannotBeResubmittedOrMutateFrozenTotals/)
|
||||
assert.match(reviewTests, /shouldApproveMultipleCargoLinesOnlyWhenAllFrozenTotalsMatch/)
|
||||
assert.match(reviewTests, /shouldRejectApprovalWhenVolumeSnapshotDoesNotConserve/)
|
||||
@@ -71,3 +71,13 @@ test('approval freezes measurement and requires quantity weight and volume conse
|
||||
assert.match(source, /actualVolumeCbm[^\n]+totalVolume/)
|
||||
assert.match(source, /volumeWeightKg[^\n]+volumeWeight/)
|
||||
})
|
||||
|
||||
test('dropship measurement completes the formal palletization workflow before smart loading', () => {
|
||||
assert.match(source, /pda-dropship\/tasks\/pending/)
|
||||
assert.match(source, /pda-dropship\/tasks\/\$\{taskId\}\/claim/)
|
||||
assert.match(source, /pallets\/open/)
|
||||
assert.match(source, /pallets\/\$\{palletId\}\/scan/)
|
||||
assert.match(source, /pallets\/\$\{palletId\}\/seal/)
|
||||
assert.match(source, /dropship \? \['WAIT_PALLETIZE'\] : \['WAIT_SPLIT'\]/)
|
||||
assert.match(source, /一件代发合托完成后进入智能分柜门禁/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user