mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Bug 901766 - Fix handling of settings activity in testSettingsMenuItems (r=liuche)
This commit is contained in:
parent
895f19b1c1
commit
155c0a5352
@ -93,9 +93,10 @@ public class testSettingsMenuItems extends PixelTest {
|
|||||||
|
|
||||||
// Dismiss the Settings screen and verify that the view is returned to about:home page
|
// Dismiss the Settings screen and verify that the view is returned to about:home page
|
||||||
mActions.sendSpecialKey(Actions.SpecialKey.BACK);
|
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");
|
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");
|
selectMenuItem("Settings");
|
||||||
waitForText("Settings");
|
waitForText("Settings");
|
||||||
|
Loading…
Reference in New Issue
Block a user