From 65b84310bdb5c3860ab2fd3cb2570a2d1f591c7d Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Tue, 15 Oct 2024 13:53:17 -0700 Subject: [PATCH] Animal History flaky test fix (#847) - Ensure reports loaded in constructor --- ehr/test/src/org/labkey/test/pages/ehr/AnimalHistoryPage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ehr/test/src/org/labkey/test/pages/ehr/AnimalHistoryPage.java b/ehr/test/src/org/labkey/test/pages/ehr/AnimalHistoryPage.java index 793109d81..bb21dc7e7 100644 --- a/ehr/test/src/org/labkey/test/pages/ehr/AnimalHistoryPage.java +++ b/ehr/test/src/org/labkey/test/pages/ehr/AnimalHistoryPage.java @@ -46,6 +46,7 @@ public class AnimalHistoryPage extends ParticipantV public AnimalHistoryPage(WebDriver driver) { super(driver); + ensureWaitForReports(); // Wait for reports section to load even if empty } public static AnimalHistoryPage beginAt(WebDriverWrapper test)