test: verify pda warehouse queries after receiving
This commit is contained in:
@@ -24,6 +24,9 @@ test('PDA module covers the container-number receiving contract and excludes out
|
||||
for (const token of ['/candidates', '/prepare', '/current/unload-photos/files', '/current/sign',
|
||||
'/current/skus/resolve', '/current/cartons/resolve', '/current/pallets/resolve',
|
||||
'/current/receipts/bulk', '/current/receipts/carton', '/current/complete']) assert.ok(source.includes(token), token)
|
||||
for (const token of ['/inventory/resolve', '/locations/resolve', '/pallets/resolve', '/operations?page=1&size=50']) {
|
||||
assert.ok(source.includes(token), token)
|
||||
}
|
||||
for (const role of ['LICENSE_PLATE', 'CONTAINER_SEAL', 'DOOR_OPEN']) assert.ok(source.includes(role), role)
|
||||
for (const forbidden of ['/outbound', '/dispatch', '/delivery', '/internal/']) assert.equal(source.includes(forbidden), false, forbidden)
|
||||
assert.match(source, /同键同载荷重放/)
|
||||
@@ -50,6 +53,8 @@ test('PDA module covers the container-number receiving contract and excludes out
|
||||
assert.match(source, /last-leg\/orders\?page=1&size=200&containerNo=/)
|
||||
assert.match(source, /phase4OverseasPda\.orderId = id\(order\.id\)/)
|
||||
assert.match(source, /phase4OverseasPda\.customerId = id\(order\.customerId\)/)
|
||||
assert.match(source, /现场库存查询只返回Token绑定仓且包含库存位置/)
|
||||
assert.match(source, /作业历史包含本轮柜号收货动作且分页稳定/)
|
||||
})
|
||||
|
||||
test('missing WAREHOUSE_PICKER overseas authority is a deployment blocker', async () => {
|
||||
|
||||
Reference in New Issue
Block a user