Skip to content

Commit d0db6a2

Browse files
authored
Refactor click action to use specific WebElement
1 parent 391f7f7 commit d0db6a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jbrowse/test/src/org/labkey/test/tests/external/labModules/JBrowseTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,7 @@ private void testTitleMapping()
457457

458458
Actions actions = new Actions(getDriver());
459459
WebElement toClick = getDriver().findElements(getVariantWithinTrack("mgap_hg38", "SNV T -> C")).stream().filter(WebElement::isDisplayed).collect(JBrowseTestHelper.toSingleton()); // 1:137..137
460-
actions.click().perform();
461-
460+
actions.click(toClick).perform();
462461
waitForElement(Locator.tagWithText("div", "1:137"));
463462
assertElementPresent(Locator.tagWithText("td", "Minor Allele Frequency"));
464463
}

0 commit comments

Comments
 (0)