2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-27 01:00:53 +00:00

[UI] Improve order parts wizard (#9389)

* [UI] Improve order parts wizard

- Enhance placeholder text
- Precalculate order quantity

* Tweak playwright tests

* Simplify tests
This commit is contained in:
Oliver
2025-03-31 18:19:21 +11:00
committed by GitHub
parent 7b994a3d07
commit 66d5180d8f
3 changed files with 57 additions and 4 deletions

View File

@ -283,6 +283,8 @@ test('Purchase Orders - Order Parts', async ({ browser }) => {
await page.getByText('PRJ-PHO').click();
await page.getByRole('button', { name: 'Cancel' }).click();
await page.getByLabel('number-field-quantity').fill('100');
// Add the part to the purchase order
await page.getByLabel('action-button-add-to-selected').click();
await page.getByLabel('number-field-quantity').fill('100');