test: complete phase3 phase4 acceptance coverage

This commit is contained in:
2026-08-25 00:24:43 +08:00
parent 84ad5e779a
commit 73d206e3f3
21 changed files with 908 additions and 69 deletions
@@ -86,6 +86,7 @@ test('fixture-unavailable statuses stay supported without becoming hard requirem
assert.equal(matrix.pages.inbounds.coverageGaps.WAIT_PRICING.category, 'fixture-unavailable')
assert.equal(matrix.pages.unifiedOrders.coverageGaps.DELIVERED.category, 'fixture-unavailable')
assert.deepEqual(missingRequiredStateFixtures(matrix), [])
assert.match(source, /gap\.category, \{ marker: context\.marker, page, status, blocking: false \}/)
})
test('unknown missing status is never swallowed by the known coverage-gap allowlist', () => {
@@ -111,6 +112,5 @@ test('LOADING and LOADED fixtures are resolved through inbound and unified-order
assert.match(source, /\/api\/platform\/v1\/orders\/\$\{encodeURIComponent\(orderId\)\}/)
assert.match(source, /unified\?\.summary\?\.mainStatus === expectedStatus/)
assert.match(source, /matrix\.pages\.unifiedOrders\.fixtures\[expectedStatus\]/)
assert.match(source, /clearResolvedProvisionalGap\(context, expectedStatus\)/)
assert.match(source, /gap\?\.name === `统一订单列表保留 \$\{status\}`/)
assert.doesNotMatch(source, /clearResolvedProvisionalGap/)
})