This commit is contained in:
2026-08-12 19:56:34 +08:00
parent 8a3f715a3b
commit 30aa0fd945
4 changed files with 27 additions and 7 deletions
@@ -140,6 +140,10 @@ test('container loading creates and confirms booking before scoped candidates',
assert.doesNotMatch(draft, /billOfLadingNo|vesselName|voyageNo|estimatedSailingAt|estimatedArrivalAt/)
assert.match(value, /containerAllocations\?\.\[0\]/)
assert.match(value, /bookingId=\$\{encodeURIComponent\(containerId\)\}&warehouseId=/)
assert.match(value, /tasks\?loadingPlanId=\$\{encodeURIComponent\(planId\)\}&warehouseId=/)
assert.match(value, /loadingPlanId: planId, containerBookingId: containerId/)
assert.ok(value.includes("'PATCH', `${CONTAINERS}/${containerId}/transport"))
assert.match(value, /绑定本轮真实箱号并补建 PDA 任务/)
assert.doesNotMatch(value, /POST', CONTAINERS, containerPayload/)
})