优化
This commit is contained in:
@@ -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')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user