fix(overseas-pda): stabilize receiving state flow
This commit is contained in:
@@ -65,6 +65,13 @@ test('login has no committed demo credentials and inbound operation implements t
|
||||
for (const role of ['LICENSE_PLATE', 'CONTAINER_SEAL', 'DOOR_OPEN']) assert.match(adapter, new RegExp(role))
|
||||
for (const forbidden of ['customerId', 'planNo', 'allocationId', 'warehouseId', 'locationId']) assert.doesNotMatch(inbound, new RegExp(forbidden))
|
||||
assert.match(operation, /isReceivingConflict|recoverCurrentAfterConflict/)
|
||||
assert.match(operation, /onShow\(\)[\s\S]*this\.phase === 'candidates'[\s\S]*this\.bootstrap\(\)/)
|
||||
assert.match(operation, /candidateLoading[\s\S]*candidateError/)
|
||||
assert.match(operation, /candidateError\.requestId[\s\S]*candidateError\.traceId/)
|
||||
assert.match(operation, /@tap="loadCandidates"[^>]*>重新加载/)
|
||||
assert.match(operation, /async loadCandidates\(feedback = true\)[\s\S]*if \(this\.candidateLoading\) return[\s\S]*this\.candidateError = error/)
|
||||
assert.match(operation, /async prepareContainer\(\)[\s\S]*this\.busy\) return/)
|
||||
assert.match(operation, /prepareReceivingContainer[\s\S]*releaseIdempotencyKey\(key\.signature\)/)
|
||||
assert.match(overseas, /replaceTokens|refreshOverseasToken/)
|
||||
assert.match(overseas, /requestId/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user