Skip to content

Commit 7ef0524

Browse files
committed
Test fix
1 parent 1f3328f commit 7ef0524

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.labkey.test.util.ext4cmp.Ext4CmpRef;
1313
import org.labkey.test.util.ext4cmp.Ext4FieldRef;
1414
import org.labkey.test.util.ext4cmp.Ext4GridRef;
15-
import org.labkey.test.util.external.labModules.LabModuleHelper;
1615
import org.openqa.selenium.By;
1716

1817
import java.io.File;
@@ -143,7 +142,7 @@ public static void waitForJBrowseToLoad(BaseWebDriverTest test)
143142
test.waitForElement(Locator.tagWithAttribute("button", "title", "close this track").notHidden());
144143
test.waitForElement(Locator.tagWithClassContaining("button", "MuiButtonBase-root").notHidden(), WebDriverWrapper.WAIT_FOR_PAGE); //this is the icon from the track label
145144

146-
test.waitForElementToDisappear(Locator.tagWithText("div", "Loading...")); //track data
147-
test.waitForElementToDisappear(Locator.tagWithText("p", "Loading..."));
145+
test.waitForElementToDisappear(Locator.tagWithText("div", "Loading")); //track data
146+
test.waitForElementToDisappear(Locator.tagWithText("p", "Loading").withClass("MuiTypography-root")); // the track data
148147
}
149148
}

0 commit comments

Comments
 (0)