mirror of
https://github.com/inventree/InvenTree.git
synced 2026-02-25 16:17:58 +00:00
[UI] Barcode form inputs (#10973)
* Add barcode buttons to related fields - Only field types which support barcodes * Add per-user settings for barcode support * Fill form field with scanned data * Updated docs * Fix duplicate setting * Add playwright tests * Fix duplicate setting in docs * Fix broken link * Fix memo deps * Fix typo * Remove setting * Updated playwright tests * Improved typing
This commit is contained in:
@@ -225,7 +225,9 @@ test('Purchase Orders - Barcodes', async ({ browser }) => {
|
||||
// Ensure we can scan back to this page, with the associated barcode
|
||||
await page.getByRole('tab', { name: 'Sales' }).click();
|
||||
await page.waitForTimeout(250);
|
||||
await page.getByRole('button', { name: 'Open Barcode Scanner' }).click();
|
||||
|
||||
await page.getByRole('button', { name: 'barcode-scan-button-any' }).click();
|
||||
|
||||
await page.getByPlaceholder('Enter barcode data').fill('1234567890');
|
||||
await page.getByRole('button', { name: 'Scan', exact: true }).click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user