fix(acceptance): update declaration before fulfillment convergence
This commit is contained in:
@@ -46,3 +46,10 @@ test('approval convergence is a hard WAIT_MEASURE prerequisite without coverage
|
||||
assert.match(source, /throw new Error\('订单审核后的入库单与履约任务未在30秒内收敛/)
|
||||
assert.doesNotMatch(source, /审核后入库单与履约任务异步收敛[\s\S]{0,300}addCoverageGap/)
|
||||
})
|
||||
|
||||
test('post-approval declaration update precedes asynchronous fulfilment convergence', () => {
|
||||
const approval = source.indexOf("Admin 审核通过本轮订单")
|
||||
const declaration = source.indexOf("Admin 修改审核后客户申报资料")
|
||||
const convergence = source.indexOf('const inboundResult = await waitForInbound')
|
||||
assert.ok(approval >= 0 && declaration > approval && convergence > declaration)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user