This commit is contained in:
2026-08-12 09:26:00 +08:00
parent 64a8fcd130
commit 0b51ed4347
5 changed files with 32 additions and 17 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ const page = await readFile(new URL('../pages/picking/picking.vue', import.meta.
test('PDA loading adapter keeps C04 read and write paths', () => {
for (const path of [
'/orders?',
'/first-leg/pda-loading/tasks/pending',
'/loading/picking?tenantId=',
'/loading/picking/start?tenantId=',
'/loading/picking/complete?tenantId=',
@@ -56,6 +56,7 @@ test('picking page exposes five evidence slots, retry and remote completion stat
})
test('PDA cabinet picking adapter claims online and submits one atomic batch', () => {
assert.match(source, /\/first-leg\/pda-loading\/tasks\/pending/)
assert.match(source, /\/first-leg\/pda-loading\/tasks\?/)
assert.match(source, /tasks\/\$\{encodeURIComponent\(taskId\)\}\/claim/)
assert.match(source, /tasks\/\$\{encodeURIComponent\(task\.taskId\)\}\/batch/)