优化
This commit is contained in:
@@ -49,7 +49,7 @@ test('exposes real list, draft, submit, and detail workflow entries without canc
|
||||
})
|
||||
|
||||
test('copies an order into the dedicated create page without reusing order identity', () => {
|
||||
assert.match(source, /key: 'copy', label: '一键复制'/)
|
||||
assert.match(source, /key: 'copy', label: '复制下单'/)
|
||||
assert.match(source, /name: 'first-leg-order-create'[\s\S]*copyFrom: order\.id/)
|
||||
assert.match(source, /order\.status === 'DRAFT' \? \{ copyDraft: '1' \}/)
|
||||
assert.match(source, /sourceIsDraft \? await store\.loadDraftDetail\(id\) : await store\.loadDetail\(id\)/)
|
||||
|
||||
Reference in New Issue
Block a user