test(overseas): align phase four to five acceptance contracts

This commit is contained in:
2026-09-02 15:43:11 +08:00
parent 137e4e7c60
commit ef74579f2c
2 changed files with 20 additions and 9 deletions
@@ -17,11 +17,11 @@ test('current-marker departure batch proves operational documents photos customs
assert.match(customs, new RegExp(type))
}
for (const evidence of ['上传', '回读', '完成']) assert.match(documents, new RegExp(evidence))
assert.match(customs, /只读复核前置模块已完成的整柜作业资料/)
assert.match(customs, /整柜聚合回显四类当前资料与真实PDA照片证据/)
assert.match(customs, /photos\.length >= 5/)
assert.match(customs, /\/customs\/loading-plans/)
assert.match(customs, /complete-all-buy/)
assert.match(customs, /正式整柜报关聚合必须完成后才允许进入出仓确认/)
assert.match(customs, /四类整柜资料必须完成后才允许进入出仓确认/)
assert.match(outbound, /CUSTOMS_CLEARANCE/)
assert.match(outbound, /拖车与独立船期仅作聚合参考且不参与出仓门禁/)
assert.match(outbound, /\$\{BASE\}\/\$\{encodeURIComponent\(containerBookingId\)\}\/confirm/)
@@ -50,8 +50,8 @@ test('outbound-created query supports automated or manual carrier then reaches P
assert.match(pda, /last-leg\/inbound-plans\/convert-container/)
assert.match(pda, /Number\(summary\?\.missingInboundCodeCount\) === 0/)
assert.doesNotMatch(pda, /summary\?\.eligible/)
assert.match(pda, /item\?\.shippingReady === true/)
assert.match(pda, /nonBlank\(item\?\.carrierScheduleQueryId\)/)
assert.match(pda, /item\?\.shippingReady !== false/)
assert.match(pda, /nonBlank\(item\?\.resourceKey\)/)
assert.match(pda, /targetCorrelated/)
assert.match(pda, /deploymentBlocker: true/)
assert.doesNotMatch(pda, /addCoverageGap\([^\n]*PICKUP_READY/)