Skip to content

Commit 9b73605

Browse files
authored
JBrowseTest fix (#132)
1 parent 3b76a85 commit 9b73605

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

jbrowse/src/org/labkey/jbrowse/model/JsonFile.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,10 @@ private JSONObject getVcfTrack(Logger log, ExpData targetFile, ReferenceGenome r
527527
put("maxDisplayedBpPerPx", 2000);
528528
put("renderer", new JSONObject(){{
529529
put("type", "ExtendedVariantRenderer");
530-
put("showLabels", false);
530+
//put("showLabels", false);
531+
//put("labels", new JSONObject(){{
532+
// put("description", "jexl:get(feature,'POS')");
533+
//}});
531534
}});
532535

533536
JSONObject json = getExtraTrackConfig();

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,10 @@ private void testInferredDetails()
308308
waitForJBrowseToLoad();
309309

310310
Actions actions = new Actions(getDriver());
311-
WebElement toClick = getDriver().findElements(getVariantWithinTrack("mgap_hg38", "SNV A -> C")).stream().filter(WebElement::isDisplayed).findFirst().get();
311+
WebElement toClick = getDriver().findElements(getVariantWithinTrack("mgap_hg38", "SNV T -> C")).stream().filter(WebElement::isDisplayed).findFirst().get();
312312

313313
actions.click(toClick).perform();
314-
waitForElement(Locator.tagWithText("div", "1:116,992,079..116,992,079"));
314+
waitForElement(Locator.tagWithText("div", "1:116,982,183..116,982,183"));
315315
waitForElement(Locator.tagWithText("span", "Predicted Function"));
316316
waitForElement(Locator.tagWithText("span", "Regulatory Data"));
317317
waitForElement(Locator.tagWithText("span", "Phenotypic Data"));

0 commit comments

Comments
 (0)