Bug 901766 - Fix handling of settings activity in testSettingsMenuItems (r=liuche)

This commit is contained in:
Lucas Rocha 2013-08-06 17:51:20 +01:00
parent 895f19b1c1
commit 155c0a5352

View File

@ -93,9 +93,10 @@ public class testSettingsMenuItems extends PixelTest {
// Dismiss the Settings screen and verify that the view is returned to about:home page
mActions.sendSpecialKey(Actions.SpecialKey.BACK);
// Waiting for page title to appear to be sure that is fully loaded before opening the menu
waitForText("Enter Search");
verifyUrl("about:home");
mActions.sendSpecialKey(Actions.SpecialKey.BACK);
waitForText("Enter Search"); // Waiting for page title to appear to be sure that is fully loaded before opening the menu
selectMenuItem("Settings");
waitForText("Settings");