Skip to content

Commit e0d7e79

Browse files
authored
Wait for active report panel to prevent NPEs (#999)
1 parent 1f75a9e commit e0d7e79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ehr/test/src/org/labkey/test/pages/ehr/ParticipantViewPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public ParticipantViewPage clickReportTab(String reportLabel)
115115

116116
public WebElement getActiveReportPanel()
117117
{
118-
return activeReportPanel.findElementOrNull(getDriver());
118+
return activeReportPanel.waitForElement(getDriver(), 2_000);
119119
}
120120

121121
public DataRegionTable getActiveReportDataRegion()

0 commit comments

Comments
 (0)