优化PDA装柜完成错误提示
This commit is contained in:
@@ -243,3 +243,12 @@ test('picking mutations stay closed until the canonical task has been claimed',
|
||||
assert.match(body, /if \(!this\.requirePickingOperation\(\)\) return/, `${method} should wait for claim`)
|
||||
}
|
||||
})
|
||||
|
||||
test('completion shows a Chinese server failure with a request correlation id', () => {
|
||||
assert.match(page, /remoteFailureMessage\(error, fallback = '操作失败'\)/)
|
||||
assert.match(page, /\^internal server error\$\/i/)
|
||||
assert.match(page, /服务端处理异常,请联系管理员/)
|
||||
assert.match(page, /请求编号/)
|
||||
assert.match(page, /requestIdFromServer: error\.requestId/)
|
||||
assert.match(page, /this\.remoteFailureMessage\(error, '装柜完成失败'\)/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user