Skip to content

Commit cf32662

Browse files
authored
Update click action to click and hold on element
1 parent 58868a9 commit cf32662

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,9 @@ private void testTitleMapping()
452452

453453
Actions actions = new Actions(getDriver());
454454
WebElement toClick = getDriver().findElements(getVariantWithinTrack("mgap_hg38", "SNV T -> C")).stream().filter(WebElement::isDisplayed).collect(JBrowseTestHelper.toSingleton()); // 1:137..137
455-
actions.click(toClick).perform();
455+
actions.clickAndHold(toClick).perform();
456+
actions.release().perform();
457+
456458
waitForElement(Locator.tagWithText("div", "1:137"));
457459
assertElementPresent(Locator.tagWithText("td", "Minor Allele Frequency"));
458460
}
@@ -1811,4 +1813,4 @@ private void testLuceneColumnSerialization(String sessionId) {
18111813
Assert.assertEquals(colVisModelString, getUrlParam("colVisModel"));
18121814
testLuceneColumnSerializationFirstRow();
18131815
}
1814-
}
1816+
}

0 commit comments

Comments
 (0)