test: align phase3 and overseas business acceptance
This commit is contained in:
@@ -460,6 +460,8 @@ test('phase3 loading proves stale inventory zero-write and defers final completi
|
||||
|
||||
test('phase3 loading resolves legal SKIP and PARTIAL exceptions before downstream completion', () => {
|
||||
const loading = source('./phase3-loading.mjs')
|
||||
const entry = source('../admin-test-env-acceptance.mjs')
|
||||
const measurement = source('./inbound-measurement.mjs')
|
||||
assertOrder(loading, [
|
||||
'本轮增量 fixture 提供独立 SKIP 与 PARTIAL 合法货物明细',
|
||||
'加入本轮待跳拣异常明细',
|
||||
@@ -486,6 +488,11 @@ test('phase3 loading resolves legal SKIP and PARTIAL exceptions before downstrea
|
||||
assert.match(loading, /exceptionOverview\?\.pda\?\.exceptionReasons\?\.includes\?\.\(skipReason\)/)
|
||||
assert.match(loading, /Number\(exceptionOverview\?\.pda\?\.unresolvedItemCount\) === 0/)
|
||||
assert.doesNotMatch(loading, /addCoverageGap\([^)]*(SKIP|PARTIAL|未解决异常)/)
|
||||
assert.match(entry, /this\.context\.phase3LoadingIncrementalDetailCount = 4/)
|
||||
assert.match(measurement, /增量 fixture 形成四条真实独立货物测量明细/)
|
||||
assert.match(measurement, /detailBoxCode = `\$\{inboundCode\}#\$\{originalPackageCount\}-\$\{cartonIndex\}`/)
|
||||
assert.match(measurement, /items: draftItems/)
|
||||
assert.match(measurement, /expectedPackages === originalPackageCount/)
|
||||
})
|
||||
|
||||
test('phase3 loading fixture forces A0 through reversible public location status APIs', () => {
|
||||
|
||||
Reference in New Issue
Block a user