2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-06-12 03:28:37 +00:00

[UI] Can build (#12043)

* Fix for BuildDetail

* Update playwright tests

* update playwright

Ref: https://github.com/microsoft/playwright/issues/40998

* Fix hooks
This commit is contained in:
Oliver
2026-05-31 10:09:29 +10:00
committed by GitHub
parent 5d6d9f37cc
commit 30243002a4
2 changed files with 7 additions and 7 deletions
@@ -45,8 +45,12 @@ test('Build Order - Basic Tests', async ({ browser }) => {
// Load a particular build order
await page.getByRole('cell', { name: 'BO0017' }).click();
await loadTab(page, 'Build Details');
// This build order should be "on hold"
await page.getByText('On Hold').first().waitFor();
await page.getByText('Can Build').first().waitFor();
await page.getByText('Completed Outputs').first().waitFor();
// Edit the build order (via keyboard shortcut)
await page.keyboard.press('Control+E');