test: release bookings before opening PDA
This commit is contained in:
@@ -90,7 +90,10 @@ test('bridge loading starts through a real PDA batch before preload confirmation
|
||||
'无真实柜号拒绝推送柜次计划',
|
||||
'无真实柜号推送失败后不生成 PDA 任务',
|
||||
'绑定真实柜号后开放三期 PDA 推送门禁',
|
||||
'绑定真实柜号后推送柜次计划并生成 PDA 任务',
|
||||
'订舱 CONFIRMED 即使已绑定真实柜号也不生成 PDA 任务',
|
||||
'三期订舱补齐五项运输字段并放舱',
|
||||
'三期订舱 RELEASED 后保持模拟柜关联身份',
|
||||
'真实柜号与 RELEASED 订舱就绪后推送并生成 PDA 任务',
|
||||
"pushedLoadingPlan?.status === 'EDITING'",
|
||||
"claimedPlan?.status === 'LOADING'",
|
||||
"const canonicalPick = await request",
|
||||
@@ -107,6 +110,8 @@ test('bridge loading starts through a real PDA batch before preload confirmation
|
||||
assert.match(value, /const missingContainerTaskAbsent =[\s\S]*if \(!missingContainerTaskAbsent\) return/)
|
||||
assert.match(value, /version: transportVersion/)
|
||||
assert.match(value, /Number\.isInteger\(transportVersion\)/)
|
||||
assert.match(value, /billOfLadingNo:[\s\S]*vesselName:[\s\S]*voyageNo:[\s\S]*estimatedSailingAt:[\s\S]*estimatedArrivalAt:/)
|
||||
assert.match(value, /bookingReleased\?\.oceanBooking\?\.status === 'RELEASED'/)
|
||||
})
|
||||
|
||||
test('PDA inventory snapshot gates batch and records the only safe mutation gap', () => {
|
||||
@@ -178,7 +183,10 @@ test('container loading arranges a simulation before linking a confirmed real bo
|
||||
assert.match(value, /loadingPlanId: planId, containerBookingId: containerId/)
|
||||
assert.ok(value.includes("'PATCH', `${CONTAINERS}/${containerId}/transport"))
|
||||
assert.match(value, /在放舱前绑定本轮真实箱号/)
|
||||
assert.match(value, /订舱放舱并开放现场 PDA 任务/)
|
||||
assert.match(value, /订舱五项运输字段放舱并满足 PDA 订舱门禁/)
|
||||
assert.match(value, /无真实柜号拒绝推送预装计划/)
|
||||
assert.match(value, /柜号与 RELEASED 订舱就绪后推送预装计划/)
|
||||
assert.match(value, /const confirmedTaskAbsent =[\s\S]*if \(!confirmedTaskAbsent\) return/)
|
||||
assert.match(value, /POST', CONTAINERS/)
|
||||
})
|
||||
|
||||
@@ -251,10 +259,12 @@ test('container loading enforces channel isolation and stable PDA identity acros
|
||||
'两个真实有效渠道之间拒绝跨渠道装柜',
|
||||
'人工分配本轮候选货物',
|
||||
'首次关联真实已确认订舱柜',
|
||||
'无真实柜号时计划可排柜但 PDA 任务不开放',
|
||||
'无真实柜号拒绝推送预装计划',
|
||||
'无真实柜号推送失败后不生成 PDA 任务',
|
||||
'在放舱前绑定本轮真实箱号',
|
||||
'订舱 CONFIRMED 即使已有真实柜号也不开放 PDA 任务',
|
||||
'订舱放舱并开放现场 PDA 任务',
|
||||
'订舱五项运输字段放舱并满足 PDA 订舱门禁',
|
||||
'柜号与 RELEASED 订舱就绪后推送预装计划',
|
||||
'换柜号前读取 PDA 稳定库存快照',
|
||||
'PDA 任务创建后替换真实柜号',
|
||||
'PDA 任务创建后清空真实柜号失败',
|
||||
|
||||
Reference in New Issue
Block a user