test(firstleg): cover phase3 outbound contracts

This commit is contained in:
2026-08-08 22:42:49 +08:00
parent 66d1aa0d3d
commit 9b88fb4b9e
12 changed files with 810 additions and 50 deletions
@@ -0,0 +1,10 @@
import { registerPendingContract } from './_phase3-pending-contract.mjs'
export async function run(context) {
registerPendingContract(context, {
module: 'phase3-waiting-for-loading', scenario: 'waiting-for-loading-status', name: 'WAITING_FOR_LOADING 统一终态',
reason: '当前公开状态链只有 LOADED/DELIVERED 或柜次装柜计划 COMPLETED,没有 WAITING_FOR_LOADING 状态及其查询、筛选和状态历史契约', category: 'not-implemented',
fixtures: ['phase3Loading', 'phase3ContainerLoading'], contractSource: '待状态机与统一查询 OpenAPI 明确 WAITING_FOR_LOADING',
assertions: ['本轮出仓完成后进入 WAITING_FOR_LOADING', '列表与详情状态一致', '历史记录来源状态、操作者和时间完整'],
})
}