2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-06 20:11:37 +00:00

BOM filter by category (#9989)

* Add "category" filter for BomItem API endpoint

* Filter BOM table by part category

* Tweak filter label

* Bump API version

* Schema annotation

* Fix playwright test
This commit is contained in:
Oliver
2025-07-09 21:46:07 +10:00
committed by GitHub
parent 6f08bdca46
commit 7ff2ca914a
5 changed files with 25 additions and 4 deletions

View File

@@ -109,7 +109,9 @@ test('Build Order - Calendar', async ({ browser }) => {
await page.getByLabel('calendar-select-filters').click();
await page.getByRole('button', { name: 'Add Filter' }).click();
await page.getByPlaceholder('Select filter').fill('category');
await page.getByRole('option', { name: 'Category', exact: true }).click();
await page
.getByRole('option', { name: 'Part Category', exact: true })
.click();
await page.getByLabel('related-field-filter-category').click();
await page.getByText('Part category, level 1').waitFor();