Fix barcode lookup test reliability

This commit is contained in:
beatz174-bit committed 2025-12-01 21:48:17 +10:00
1 parent 5bb16d155f
commit 5edc2057be
10 files changed
+122 -82

No files matched your search

+1 -1
View File
@@ -96,6 +96,6 @@ describe('ProductRow', () => {
await user.click(screen.getByLabelText(/edit sparkling water/i));
await user.click(screen.getByRole('button', { name: /clear/i }));
expect(screen.getByRole('button', { name: /scan barcode/i })).toBeVisible();
expect(screen.getByRole('button', { name: /scan/i })).toBeVisible();
});
});