mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +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:
		| @@ -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'); | ||||
|   | ||||
| @@ -126,8 +126,6 @@ test('Forms - Supplier Validation', async ({ browser }) => { | ||||
|   await page.getByRole('button', { name: 'Submit' }).click(); | ||||
|  | ||||
|   // Is prevented, due to uniqueness requirements | ||||
|   await page | ||||
|     .getByText('Company with this Company name and Email already exists') | ||||
|     .waitFor(); | ||||
|   await page.getByText('Form Error').waitFor(); | ||||
|   await page.getByRole('button', { name: 'Cancel' }).click(); | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user