Skip to content

Commit 8679b83

Browse files
author
hextraza
committed
Correct values for expected and optionText in SequenceTest
1 parent c9cba45 commit 8679b83

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,14 +408,15 @@ private void testOutputFileProcessing() throws Exception
408408
//Now test search:
409409
beginAt("/jbrowse/" + getContainerId() + "/search.view?session=" + sessionId);
410410
String search = "Ga";
411-
String expected = "Gag";
411+
String optionText = "Gag";
412+
String expected = "SIVmac239_Test:10373..10493";
412413

413414
Locator searchLocator = Locator.tagWithClass("input", "MuiInputBase-input");
414415
waitForElement(searchLocator);
415416
WebElement searchBox = searchLocator.findElement(getDriver());
416417
searchBox.sendKeys(search);
417418

418-
Locator optionLocator = Locator.tagWithText("li", expected);
419+
Locator optionLocator = Locator.tagWithText("li", optionText);
419420
waitForElement(optionLocator);
420421
WebElement locator = optionLocator.findElement(getDriver());
421422
int locatorIndex = Integer.parseInt(locator.getAttribute("data-option-index"));

0 commit comments

Comments
 (0)