fix(pda): guard duplicate submission and invalidate hidden task requests
This commit is contained in:
@@ -292,7 +292,10 @@ test('picking session persists per task identity and clears on logout', async ()
|
||||
assert.match(store, /savePickingSession/)
|
||||
assert.match(store, /resetPickingSession/)
|
||||
assert.match(session, /signOut\(\)[\s\S]*?resetPickingSession\(\)/)
|
||||
assert.match(page, /onUnload\(\) \{ this\.stopHardwareScanner\(\); this\.persistSession\(\)/)
|
||||
const unload = page.match(/onUnload\(\) \{([^}]+)\}/)?.[1] || ''
|
||||
assert.match(unload, /this\.stopHardwareScanner\(\)/)
|
||||
assert.match(unload, /this\.persistSession\(\)/)
|
||||
assert.match(unload, /this\.invalidateTaskSync\(\)/)
|
||||
})
|
||||
|
||||
test('shared visual contracts preserve accessible PDA targets', async () => {
|
||||
|
||||
Reference in New Issue
Block a user