Bug 769145 - Part 6: Update test cases for layout changes. r=mfinkle

This commit is contained in:
Brian Nicholson 2012-10-05 17:27:12 -07:00
parent 34d3b2814d
commit 0fc2b4a24b
2 changed files with 4 additions and 1 deletions

View File

@ -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 {

View File

@ -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")])