2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Allocated stock table fix (#7636)

* Expose batch code field to StockItemSerializerBrief

* Expose more fields to PartBriefSerializer

* Additional export fields to BuildItemSerializer

* Bump API version

* Fix playwright test
This commit is contained in:
Oliver
2024-07-14 20:49:46 +10:00
committed by GitHub
parent 0db280ad74
commit 750e6d81fa
7 changed files with 29 additions and 5 deletions

View File

@ -19,10 +19,10 @@ test('PUI - Pages - Build Order', async ({ page }) => {
await page.getByRole('tab', { name: 'Allocated Stock' }).click();
// Check for expected text in the table
await page.getByText('R_10R_0402_1%').click();
await page.getByText('R_10R_0402_1%').waitFor();
await page
.getByRole('cell', { name: 'R38, R39, R40, R41, R42, R43' })
.click();
.waitFor();
// Click through to the "parent" build
await page.getByRole('tab', { name: 'Build Details' }).click();