test: await PDA projection and pending receipts

This commit is contained in:
2026-08-25 17:25:38 +08:00
parent 4e8c15dbfa
commit 25cb3bfa54
2 changed files with 23 additions and 2 deletions
@@ -35,9 +35,14 @@ test('PDA module covers the container-number receiving contract and excludes out
assert.match(source, /第二仓库操作员抢占同柜返回409/)
assert.match(source, /WAREHOUSE_PICKER/)
assert.match(source, /lastleg:pda:operate/)
assert.match(source, /安全投影已收敛/)
assert.match(source, /projectionReady = success\(projectionResponse\) \|\| notFound\(projectionResponse\)/)
assert.match(source, /setTimeout\(resolve, 500\)/)
assert.match(source, /超收被拒绝/)
assert.match(source, /重复箱新键被拒绝/)
assert.match(source, /key\(context, `fba-bulk-\$\{index\}`\)/)
assert.match(source, /packageCount = Number\(resolved\.data\?\.pendingPackages \|\| 0\)/)
assert.match(source, /if \(packageCount <= 0\) continue/)
assert.match(source, /key\(context, `overseas-carton-\$\{index\}`\)/)
assert.match(source, /模式硬拒绝/)
assert.match(source, /current返回404正常空态/)