Skip to content

Commit 01b762f

Browse files
committed
More specific xpath
1 parent bc769fc commit 01b762f

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-
waitForElement(Locator.xpath("//*[text() = 'Error - no session provided.']"));
88+
waitForElement(Locator.tagWithText("p", "Error - no session provided."));
8989
}
9090

9191
private void testDemoUi()

0 commit comments

Comments
 (0)