From 84d3a716e01bdee90f594c1c97d55b9062f4816c Mon Sep 17 00:00:00 2001
From: Oliver <oliver.henry.walters@gmail.com>
Date: Sat, 22 Feb 2025 20:06:34 +1100
Subject: [PATCH] [UI] Reduce test sensitivity (#9146)

---
 src/frontend/tests/pages/pui_part.spec.ts | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/frontend/tests/pages/pui_part.spec.ts b/src/frontend/tests/pages/pui_part.spec.ts
index 0310f8d503..7a2210034a 100644
--- a/src/frontend/tests/pages/pui_part.spec.ts
+++ b/src/frontend/tests/pages/pui_part.spec.ts
@@ -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();