Skip to content

Commit f2dc747

Browse files
committed
tidied up testDemoNoSession()
1 parent d07a818 commit f2dc747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void testSteps() throws Exception
8585
private void testDemoNoSession()
8686
{
8787
beginAt("/home/jbrowse-jbrowse.view?");
88-
assertElementVisible(Locator.xpath("/html/body/div[2]/div/div[3]/div/div/div/p"));
88+
waitForElement(Locator.xpath("//*[text() = 'Error - no session provided.']"));
8989
}
9090

9191
private void testDemoUi()

0 commit comments

Comments
 (0)