This commit is contained in:
2026-08-17 15:55:11 +08:00
parent 5f79616623
commit 68d9216cb8
21 changed files with 121 additions and 85 deletions
@@ -102,7 +102,7 @@ test('test-environment loading chains push without a number and open PDA only af
assert.doesNotMatch(containerLoading, /\/preload\/confirming|\/preload\/confirm\?tenantId=/)
})
test('default Admin HTTP entry carries one marker-isolated loading chain through evidence and LOADED', () => {
test('default Admin HTTP entry carries evidence chain but fail-closes before obsolete truck completion semantics', () => {
const focused = normalizeModuleOrder([
'merchant-qualification-fixture', 'orders', 'inbound-measurement',
'phase3-container-loading', 'phase3-loading', 'phase3-container-overview',
@@ -130,9 +130,10 @@ test('default Admin HTTP entry carries one marker-isolated loading chain through
assert.match(evidenceGate, /taskId[\s\S]*inboundId[\s\S]*loadingPlanId[\s\S]*containerBookingId/)
assert.match(customs, /createdResources\?\.phase3Loading[\s\S]*container\?\.finalStatus/)
assert.match(finalize, /fixture\?\.marker !== context\.marker/)
assert.match(finalize, /统一硬门禁通过后 task 与 workflow 同事务完成且身份不漂移/)
assert.match(finalize, /统一硬门禁通过后五类有效证据仍完整/)
assert.match(finalize, /统一订单详情投影同一订单为 LOADED[\s\S]*统一订单列表投影同一订单为 LOADED/)
assert.match(finalize, /BLOCKED_CONTRACT:用户已确认拖车缺失或未完成不再阻断/)
assert.ok(finalize.indexOf('PDA complete 联动拖车并原子推进 LOADED')
< finalize.indexOf('const taskPath ='))
assert.doesNotMatch(finalize, /truck\?\.finalStatus === 'COMPLETED'/)
})
test('Finance-only HTTP entry expands the completed-container producer prerequisites', () => {