File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
jbrowse/test/src/org/labkey/test/tests/external/labModules Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -1515,8 +1515,19 @@ private void testVariantTableComparators() throws Exception {
15151515
15161516 private void testLuceneSearchUI (String sessionId , String trackId )
15171517 {
1518- beginAt ("/" + getProjectName () + "/jbrowse-variantSearch.view?session=" + sessionId + "&trackId=" + trackId );
1518+ beginAt ("/" + getProjectName () + "/jbrowse-jbrowse.view?session=" + sessionId );
1519+ waitForElement (Locator .tagWithText ("span" , "Show all regions in assembly" ));
1520+ waitAndClick (Locator .tagWithText ("span" , "Open" ));
1521+ waitAndClick (Locator .tagWithText ("p" , "No tracks active." ));
1522+ waitAndClick (Locator .tagWithText ("span" , "Open Track Selector" ));
1523+
1524+ Locator l = Locator .tagWithText ("span" , "TestVCF" ).withClass ("MuiFormControlLabel-label" );
1525+ waitAndClick (l );
1526+ getDriver ().findElement (Locator .tag ("body" )).sendKeys (Keys .ESCAPE ); //close modal
1527+ waitAndClick (Locator .tagWithAttribute ("button" , "data-testid" , "track_menu_icon" ));
1528+ waitAndClickAndWait (Locator .tagContainingText ("span" , "Variant Search" ));
15191529
1530+ // Now test UI:
15201531 waitForElement (Locator .tagWithText ("span" , "0.029" ));
15211532 }
15221533}
You can’t perform that action at this time.
0 commit comments