diff --git a/mobile/android/base/tests/testAllPagesTab.java.in b/mobile/android/base/tests/testAllPagesTab.java.in index 19cfba170d1..0190d6b38c1 100644 --- a/mobile/android/base/tests/testAllPagesTab.java.in +++ b/mobile/android/base/tests/testAllPagesTab.java.in @@ -59,7 +59,7 @@ public class testAllPagesTab extends BaseTest { private void testList(String url) { final ListView list = getAllPagesList(url); - mSolo.waitForText(url); + mSolo.waitForText(bookmarks[0]); // some basic checks for the tab strip TabWidget tabwidget = (TabWidget)mSolo.getView(TabWidget.class, 0); @@ -116,7 +116,7 @@ public class testAllPagesTab extends BaseTest { private void testContextMenu(String url) { ListView list = getAllPagesList(url); - mSolo.waitForText(url); + mSolo.waitForText(bookmarks[0]); View child = list.getChildAt(0); mSolo.clickLongOnView(child); @@ -133,7 +133,7 @@ public class testAllPagesTab extends BaseTest { private void testClick(String url) { ListView list = getAllPagesList(url); - mSolo.waitForText(url); + mSolo.waitForText(bookmarks[0]); Actions.EventExpecter contentEventExpecter = mActions.expectGeckoEvent("DOMContentLoaded"); View child = list.getChildAt(0); @@ -144,7 +144,7 @@ public class testAllPagesTab extends BaseTest { private ListView getAllPagesList(String url) { Activity awesomeBarActivity = clickOnAwesomeBar(); - mSolo.waitForText(url); + mSolo.waitForText(bookmarks[0]); final ArrayList views = mSolo.getCurrentListViews();