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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user