Skip to content

Commit 556a5f3

Browse files
author
Sebastian Benjamin
committed
Move from MenuIcon svg to view_menu_icon button in tests
1 parent 316a503 commit 556a5f3

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/JBrowseTestHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public static By getVariantWithinTrack(BaseWebDriverTest test, String trackId, S
161161
public static void waitForJBrowseToLoad(BaseWebDriverTest test)
162162
{
163163
test.waitForElementToDisappear(Locator.tagWithText("p", "Loading..."), WebDriverWrapper.WAIT_FOR_PAGE); //the initial message before getSession
164-
test.waitForElement(Locator.tagWithAttribute("svg", "data-testid", "MenuIcon"), WebDriverWrapper.WAIT_FOR_PAGE); //this is the top-left icon
164+
test.waitForElement(Locator.tagWithAttribute("button", "data-testid", "view_menu_icon"), WebDriverWrapper.WAIT_FOR_PAGE); //this is the top-left icon
165165
test.waitForElement(Locator.tagWithAttribute("button", "title", "close this track").notHidden(), WebDriverWrapper.WAIT_FOR_PAGE);
166166
test.waitForElement(Locator.tagWithClassContaining("button", "MuiButtonBase-root").notHidden(), WebDriverWrapper.WAIT_FOR_PAGE); //this is the icon from the track label
167167

0 commit comments

Comments
 (0)