test(firstleg): correct mixed customs completion probe

This commit is contained in:
2026-08-28 22:54:23 +08:00
parent 7f565a24d6
commit 969ff05815
3 changed files with 22 additions and 13 deletions
@@ -42,6 +42,7 @@ test('mixed fixture producer is registered and uses only public HTTP composition
assert.match(fixtureSource, /phase3-loading-finalize\.mjs/)
assert.match(fixtureSource, /LOADING_LIST_BUY_DECLARATION_ITEMS/)
assert.match(fixtureSource, /merchantQualificationFixture/)
assert.match(fixtureSource, /merchantPlatformDetail/)
assert.doesNotMatch(fixtureSource, /customerToken:/)
assert.doesNotMatch(fixtureSource, /\b(?:INSERT\s+INTO|DELETE\s+FROM|UPDATE\s+(?:fl_|ll_|wh_|ord_))/i)
})
@@ -72,6 +73,8 @@ test('HTTP scenario contains file, state, idempotency, concurrency and zero-drif
'混合柜平台详情精确包含BUY与TAX长ID票', 'Client只见本客户TAX票且完全隐藏BUY票',
'买单导出只处理实际装柜BUY行', '混合柜最后一份完成文件后整柜COMPLETED',
'自动离仓只写一次SYSTEM历史', '自动离仓只创建一个OUTBOUND_CONFIRM长ID任务',
'documentId: customer.documentId, expectedVersion: 0',
'完成文件未成功或同键重放未收敛,已停止后续自动离仓写入',
'已停止后续完成写入并保留现场',
'自动离仓失败不回滚报关完成', '自动或待条件重试后整柜单次离仓',
'同幂等键异载荷A0409', 'Promise.all', 'requestId=', 'traceId=', 'xlsxMagic']) {