diff --git a/ehr/test/src/org/labkey/test/pages/ehr/ParticipantViewPage.java b/ehr/test/src/org/labkey/test/pages/ehr/ParticipantViewPage.java index 9b73ebaf2..7477a66de 100644 --- a/ehr/test/src/org/labkey/test/pages/ehr/ParticipantViewPage.java +++ b/ehr/test/src/org/labkey/test/pages/ehr/ParticipantViewPage.java @@ -115,7 +115,7 @@ public ParticipantViewPage clickReportTab(String reportLabel) public WebElement getActiveReportPanel() { - return activeReportPanel.findElementOrNull(getDriver()); + return activeReportPanel.waitForElement(getDriver(), 2_000); } public DataRegionTable getActiveReportDataRegion()