Fix barcode lookup test reliability
This commit is contained in:
1 parent
5bb16d155f
commit
5edc2057be
10 files changed
+122
-82
No files matched your search
@@ -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();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user