Skip to content

Commit

Permalink
Updated playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Jan 29, 2025
1 parent 5f0a800 commit 78dc14d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/frontend/tests/pages/pui_purchase_order.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ test('Purchase Orders - Barcodes', async ({ page }) => {
await page.getByRole('button', { name: 'Issue Order' }).waitFor();

// Ensure we can scan back to this page, with the associated barcode
await page.goto(`${baseUrl}/`);
await page.getByRole('tab', { name: 'Sales' }).click();
await page.waitForTimeout(250);
await page.getByRole('button', { name: 'Open Barcode Scanner' }).click();
await page.getByPlaceholder('Enter barcode data').fill('1234567890');
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/tests/pui_tables.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ test('Tables - Columns', async ({ page }) => {

await page.getByRole('menuitem', { name: 'Start Date' }).click();
await page.getByRole('menuitem', { name: 'Target Date' }).click();
await page.getByRole('menuitem', { name: 'Reference' }).click();
await page.getByRole('menuitem', { name: 'Reference', exact: true }).click();
await page.getByRole('menuitem', { name: 'Project Code' }).click();

await page.waitForTimeout(1000);
Expand Down

0 comments on commit 78dc14d

Please sign in to comment.