This commit is contained in:
2026-09-20 11:23:35 +08:00
parent 40f2b2ba11
commit 653e79d3e7
2 changed files with 2 additions and 2 deletions
@@ -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\)/)