mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	[UI] Reduce test sensitivity (#9146)
This commit is contained in:
		@@ -122,13 +122,10 @@ test('Parts - Allocations', async ({ page }) => {
 | 
				
			|||||||
  await navigate(page, 'part/74/details');
 | 
					  await navigate(page, 'part/74/details');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Check that the overall allocations are displayed correctly
 | 
					  // Check that the overall allocations are displayed correctly
 | 
				
			||||||
  await page.getByText('11 / 825').waitFor();
 | 
					  await page.getByText('11 / ').waitFor();
 | 
				
			||||||
  await page.getByText('5 / 109').waitFor();
 | 
					  await page.getByText('5 / ').waitFor();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Navigate to the "Allocations" tab
 | 
					  // Navigate to the "Allocations" tab
 | 
				
			||||||
  await page.waitForTimeout(500);
 | 
					 | 
				
			||||||
  await page.waitForLoadState('networkidle');
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  await loadTab(page, 'Allocations');
 | 
					  await loadTab(page, 'Allocations');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  await page.getByRole('button', { name: 'Build Order Allocations' }).waitFor();
 | 
					  await page.getByRole('button', { name: 'Build Order Allocations' }).waitFor();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user