diff --git a/mobile/android/base/tests/testAllPagesTab.java.in b/mobile/android/base/tests/testAllPagesTab.java.in index f48b7c022e8..279377208a3 100644 --- a/mobile/android/base/tests/testAllPagesTab.java.in +++ b/mobile/android/base/tests/testAllPagesTab.java.in @@ -133,7 +133,8 @@ public class testAllPagesTab extends BaseTest { mSolo.waitForText(url); TabHost tabHost = (TabHost)mSolo.getView(TabHost.class, 0); - return (ListView)tabHost.getCurrentView(); + int listId = mDriver.findElement(getActivity(), "awesomebar_list").getId(); + return (ListView)tabHost.getCurrentView().findViewById(listId); } public void tearDown() throws Exception { diff --git a/testing/mochitest/runtestsremote.py b/testing/mochitest/runtestsremote.py index f071a4d783c..d17fd900106 100644 --- a/testing/mochitest/runtestsremote.py +++ b/testing/mochitest/runtestsremote.py @@ -450,6 +450,8 @@ def main(): fennec_ids = options.robocopIds dm.pushFile(fennec_ids, os.path.join(deviceRoot, "fennec_ids.txt")) options.extraPrefs.append('robocop.logfile="%s/robocop.log"' % deviceRoot) + options.extraPrefs.append('browser.search.suggest.enabled=true') + options.extraPrefs.append('browser.search.suggest.prompted=true') if (options.dm_trans == 'adb' and options.robocopPath): dm._checkCmd(["install", "-r", os.path.join(options.robocopPath, "robocop.apk")])