2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-17 23:08:28 +00:00

[UI] Fix child builds panel (#11886)

* [UI] Fix child builds panel

- Adjust logic for displaying or hiding child build panel

Co-authored-by: Copilot <copilot@github.com>

* Add brief playwright test

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Oliver
2026-05-08 00:02:11 +10:00
committed by GitHub
parent 5c65cf901f
commit 3be740c019
2 changed files with 29 additions and 2 deletions
@@ -437,6 +437,12 @@ test('Build Order - Auto Allocate Tracked', async ({ browser }) => {
url: 'manufacturing/build-order/27/consumed-stock'
});
// Check some tabs along the way
await loadTab(page, 'Child Build Orders');
await page
.getByRole('button', { name: 'action-button-add-build-order' })
.waitFor();
await loadTab(page, 'Incomplete Outputs');
await page.getByRole('cell', { name: '0 / 6' }).waitFor();