test: stabilize full dev acceptance orchestration
This commit is contained in:
@@ -57,17 +57,16 @@ test('fails closed when invoked outside the manual matrix wrapper', () => {
|
||||
assert.match(source, /missing=manualStateMatrix\.pages/)
|
||||
})
|
||||
|
||||
test('covers clearance through its public API and keeps customs on the dedicated customs-v1 flow', () => {
|
||||
assert.match(source, /new FormData\(\)/)
|
||||
assert.match(source, /form\.append\('file'/)
|
||||
assert.match(source, /form\.append\('expectedVersion'/)
|
||||
assert.match(source, /form\.append\('operationReason'/)
|
||||
assert.match(source, /'Idempotency-Key'/)
|
||||
assert.match(source, /clearancePath\}\/document\/upload/)
|
||||
assert.match(source, /clearancePath\}\/complete/)
|
||||
test('reuses the departed-container clearance action verified by the dedicated module', () => {
|
||||
assert.match(source, /createdResources\?\.phase3ContainerDocuments/)
|
||||
assert.match(source, /documentIds\?\.DESTINATION_CLEARANCE/)
|
||||
assert.match(source, /本轮离仓后已完成的目的港清关动作/)
|
||||
assert.match(source, /GET', `\$\{CONTAINERS\}\/\$\{containerId\}\/clearance`/)
|
||||
assert.match(source, /completed\?\.documentType === 'DESTINATION_CLEARANCE'/)
|
||||
assert.match(source, /Boolean\(completed\?\.completedAt\)/)
|
||||
assert.match(source, /matrix\.pages\.containerLoading\.actions/)
|
||||
assert.doesNotMatch(source, /CUSTOMS_DECLARATION|loading-customs|customsPath/)
|
||||
assert.match(source, /tasks\/\$\{taskId\}\/evidence/)
|
||||
assert.doesNotMatch(source, /internal\/file|business-files/)
|
||||
assert.doesNotMatch(source, /\{\s*fileId\s*:/)
|
||||
assert.doesNotMatch(source, /clearance\/document\/upload/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user