fix(acceptance): enforce immutable confirmed fees
This commit is contained in:
@@ -106,6 +106,14 @@ test('booking freezes the source customer channel and warehouse scope', () => {
|
||||
assert.match(source, /containerType: '40HC', capacityCbm: 76, maxWeightKg: 28000/)
|
||||
})
|
||||
|
||||
test('split chain starts from the partial inbound and derives quantities from the real tree', () => {
|
||||
assert.match(source, /fixture\?\.incrementalInboundId \|\| fixture\?\.inboundId/)
|
||||
assert.match(source, /const originalPackageCount = Number\(firstTree\?\.originalPackageCount\)/)
|
||||
assert.match(source, /while \(activeRemainders\(tree\)\.length > 0\)/)
|
||||
assert.match(source, /sourcePackageCount = Number\(source\?\.packageCount\)/)
|
||||
assert.doesNotMatch(source, /snapshotMatches\(firstTree, 4, 1, 3, 1\)/)
|
||||
})
|
||||
|
||||
test('booking fixture never invents supplier names without formal IDs', () => {
|
||||
assert.match(source, /oceanBookingDraft/)
|
||||
assert.doesNotMatch(source, /SPLIT-SHIPPING|SPLIT-AGENT/)
|
||||
|
||||
Reference in New Issue
Block a user