2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

[UI] Reduce test sensitivity (#9146)

This commit is contained in:
Oliver 2025-02-22 20:06:34 +11:00 committed by GitHub
parent 7098ac74d2
commit 84d3a716e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,13 +122,10 @@ test('Parts - Allocations', async ({ page }) => {
await navigate(page, 'part/74/details');
// Check that the overall allocations are displayed correctly
await page.getByText('11 / 825').waitFor();
await page.getByText('5 / 109').waitFor();
await page.getByText('11 / ').waitFor();
await page.getByText('5 / ').waitFor();
// Navigate to the "Allocations" tab
await page.waitForTimeout(500);
await page.waitForLoadState('networkidle');
await loadTab(page, 'Allocations');
await page.getByRole('button', { name: 'Build Order Allocations' }).waitFor();