优化
This commit is contained in:
@@ -51,6 +51,7 @@ test('login has no committed demo credentials and inbound operation implements t
|
|||||||
assert.doesNotMatch(operation, /resolveCurrentSku|resolvedSku|skuInput|selectedInboundCode|chooseInbound|class="inbound-tabs"/)
|
assert.doesNotMatch(operation, /resolveCurrentSku|resolvedSku|skuInput|selectedInboundCode|chooseInbound|class="inbound-tabs"/)
|
||||||
assert.doesNotMatch(operation, /InboundList|柜内入仓码/)
|
assert.doesNotMatch(operation, /InboundList|柜内入仓码/)
|
||||||
assert.doesNotMatch(inbound, /skus\/resolve/)
|
assert.doesNotMatch(inbound, /skus\/resolve/)
|
||||||
|
assert.doesNotMatch(operation, /\.split\([^\n]*['"]#['"]/, '前端必须原样提交完整箱码,禁止按 # 猜测入仓码或箱序号')
|
||||||
assert.match(operation, /const payload = isFba \? \{ inboundCode: this\.activeInbound\.inboundCode, palletCode: this\.resolvedPallet\.palletCode, packageCount: Number\(this\.packageCount\) \}/)
|
assert.match(operation, /const payload = isFba \? \{ inboundCode: this\.activeInbound\.inboundCode, palletCode: this\.resolvedPallet\.palletCode, packageCount: Number\(this\.packageCount\) \}/)
|
||||||
assert.doesNotMatch(operation, /skuCode/)
|
assert.doesNotMatch(operation, /skuCode/)
|
||||||
assert.match(operation, /clearReceiptContext\(\)[\s\S]*activeScanTarget = 'carton'/)
|
assert.match(operation, /clearReceiptContext\(\)[\s\S]*activeScanTarget = 'carton'/)
|
||||||
|
|||||||
Reference in New Issue
Block a user