test(acceptance): reconcile dropship runtime facts

This commit is contained in:
2026-09-09 02:40:42 +08:00
parent 4ccdae0665
commit 41225248d0
14 changed files with 108 additions and 41 deletions
@@ -110,3 +110,10 @@ test('dropship measurement completes the formal palletization workflow before sm
assert.match(source, /dropship \? \['WAIT_PALLETIZE'\] : \['WAIT_SPLIT'\]/)
assert.match(source, /一件代发合托完成后进入智能分柜门禁/)
})
test('confirmed package count reconciles an uncertain transport result before retrying', () => {
assert.match(source, /async function updateConfirmedPackageCount/)
assert.match(source, /recoveredFromTransportFailure: true/)
assert.match(source, /Number\(detail\?\.version\) > Number\(body\.measurementVersion\)/)
assert.match(source, /await updateConfirmedPackageCount\(context, measurementPath/)
})