优化
This commit is contained in:
@@ -26,6 +26,15 @@ test('随机线路只固定义乌仓并从客户真实可计价候选选择', ()
|
||||
assert.doesNotMatch(runner, /channel-name|channel-code/)
|
||||
})
|
||||
|
||||
test('称重只随机复用义乌仓原有两个托盘且禁止按订单新增', () => {
|
||||
assert.match(measurement, /REUSABLE_PALLET_CODES = Object\.freeze\(\['TP-001', 'YW-TP-002'\]\)/)
|
||||
assert.match(measurement, /context\.request\('GET',[\s\S]*\/api\/platform\/v1\/pallets\?page=1&size=20/)
|
||||
assert.match(measurement, /randomlyReusePalletIds\(candidates, palletCount/)
|
||||
assert.match(measurement, /随机复用原有称重托盘/)
|
||||
assert.doesNotMatch(measurement, /context\.request\('POST', '\/api\/platform\/v1\/pallets/)
|
||||
assert.doesNotMatch(measurement, /创建称重托盘主数据/)
|
||||
})
|
||||
|
||||
test('八千票执行器逐票记录且失败后继续', () => {
|
||||
assert.match(runner, /positiveInteger\(values\.get\('count'\), 8000/)
|
||||
assert.match(runner, /positiveInteger\(values\.get\('box-max'\), 300/)
|
||||
|
||||
Reference in New Issue
Block a user