This commit is contained in:
2026-08-10 09:12:06 +08:00
parent 5815649887
commit bbe93ca235
9 changed files with 437 additions and 84 deletions
@@ -145,10 +145,12 @@ describe('UnifiedOrdersView contract', () => {
expect(source).toContain('暂无费用数据')
})
it('does not expose the unconfirmed downstream workflow', () => {
expect(source).not.toContain('后半程作业')
expect(source).not.toContain('openWorkflow')
expect(source).not.toContain('workflowEligible')
it('mounts downstream progress inside the existing order detail without opening unsafe writes', () => {
expect(source).toContain('UnifiedOrderWorkflowPanel')
expect(source).toContain("{ key: 'workflow', label: '后半程作业'")
expect(source).toContain(':read-only="true"')
expect(source).toContain(':show-delivery="false"')
expect(source).toContain("detail.value?.summary.inboundId")
expect(routeSource).not.toContain('unified-order-workflow')
})
})