File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
jbrowse/test/src/org/labkey/test/tests/external/labModules Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -450,9 +450,16 @@ private void testTitleMapping()
450450 beginAt ("/" + getProjectName () + "/jbrowse-jbrowse.view?session=mgap&location=1:104..275" );
451451 waitForJBrowseToLoad ();
452452
453+ // This will wait for them, allowing the full browser to lod:
454+ getVariantWithinTrack ("mgap_hg38" , "SNV C -> T" );
455+ getVariantWithinTrack ("mgap_hg38" , "SNV G -> C" );
456+
453457 Actions actions = new Actions (getDriver ());
454458 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 ();
459+ actions .moveToElement (toClick )
460+ .pause (500 )
461+ .click ()
462+ .perform ();
456463 waitForElement (Locator .tagWithText ("div" , "1:137" ));
457464 assertElementPresent (Locator .tagWithText ("td" , "Minor Allele Frequency" ));
458465 }
@@ -1811,4 +1818,4 @@ private void testLuceneColumnSerialization(String sessionId) {
18111818 Assert .assertEquals (colVisModelString , getUrlParam ("colVisModel" ));
18121819 testLuceneColumnSerializationFirstRow ();
18131820 }
1814- }
1821+ }
You can’t perform that action at this time.
0 commit comments