This commit is contained in:
2026-09-11 18:16:42 +08:00
parent e41f708570
commit ec62a8a397
3 changed files with 68 additions and 2 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ test('picking scan results use the shared success and error audio feedback', asy
assert.match(audio, /export function playErrorSound\(\)/)
assert.match(picking, /import \{ playErrorSound, playSuccessSound \} from '@\/utils\/audio-feedback\.js'/)
assert.match(picking, /result\.type === 'unknown'[\s\S]*?playErrorSound\(\)/)
assert.match(picking, /playSuccessSound\(\)[\s\S]*?this\.pickScannedBox\(result\.item, value\)/)
assert.match(picking, /await this\.pickScannedBox\(result\.item, value\)[\s\S]*?if \(submitted\) playSuccessSound\(\)/)
})
test('reusable scan target input separates field selection from page-level broadcast handling', async () => {