test: verify complete PDA batch history
This commit is contained in:
@@ -45,6 +45,7 @@ test('default fixture publishes a second marker-owned inbound for the same-plan
|
||||
assert.match(entry, /orders-phase3-loading-incremental-fixture/)
|
||||
assert.match(entry, /inbound-measurement-phase3-loading-incremental-fixture/)
|
||||
assert.match(entry, /phase3LoadingIncrementalPackageCount = 2/)
|
||||
assert.match(entry, /phase3LoadingIncrementalDetailCount = 4/)
|
||||
assert.match(entry, /phase3LoadingIncremental: incrementalFixture/)
|
||||
assert.match(entry, /marker: originalMarker/)
|
||||
assert.doesNotMatch(entry, /phase3LoadingIncremental[\s\S]{0,300}(history|fallback|latest)/i)
|
||||
@@ -74,6 +75,10 @@ test('HTTP chain refreshes after stale inventory and keeps one stable PDA identi
|
||||
assert.match(loading, /id\(incrementedTask\?\.containerBookingId\) === containerBookingId/)
|
||||
assert.match(loading, /const taskDetailPath = `\$\{pdaBase\}\/tasks\/\$\{canonicalTaskId\}\?warehouseId=/)
|
||||
assert.match(loading, /loadingPlanStatus: 'LOADING', finalStatus: 'AWAITING_REVIEW'/)
|
||||
assert.match(loading, /expectedBatchOperationIds = \[batchKey, skipBatchKey, partialBatchKey, dynamicBatchKey\]/)
|
||||
assert.match(loading, /expectedBatchOperationIds, incrementalInboundId/)
|
||||
assert.match(loading, /skipBatchVerified, partialBatchVerified, dynamicIncrementVerified/)
|
||||
assert.doesNotMatch(loading, /if \(Number\(dynamicCandidate\?\.availablePackageCount\) < 2\) return/)
|
||||
assert.doesNotMatch(loading, /complete-before-downstream/)
|
||||
assert.doesNotMatch(loading, /\/loading\/complete\?tenantId=/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user