test(firstleg): cover simulated container booking links
This commit is contained in:
@@ -38,9 +38,10 @@ test('backend OpenAPI freezes a platform channel query scoped by originWarehouse
|
||||
'BLOCKED_CONTRACT: platform logistics-channel query by originWarehouseId is not frozen in OpenAPI')
|
||||
})
|
||||
|
||||
test('container confirmation acceptance locks the selected channel onto the generated container', () => {
|
||||
test('explicit real booking association locks the selected channel onto the simulation', () => {
|
||||
const fixture = source(new URL('./phase3-container-loading.mjs', import.meta.url))
|
||||
assert.match(fixture, /containerAllocations\?\.\[0\]/)
|
||||
assert.match(fixture, /ocean-booking-link/)
|
||||
assert.match(fixture, /CONFIRMED 只产生真实订舱事实且尚未占用模拟柜/)
|
||||
assert.match(fixture, /containerDetail\?\.channelCode === channelCode/)
|
||||
assert.match(fixture, /selectPlatformChannelIsolationPair/)
|
||||
assert.doesNotMatch(fixture, /\$\{channelCode\}-OTHER|foreignChannelCode/)
|
||||
|
||||
Reference in New Issue
Block a user