Bug 971093 - Intermittent testSettingsMenuItems | Exception caught - junit.framework.AssertionFailedError: Text string: '^Customize$' is not found! r=gbrown
authorChenxia Liu <liuche@mozilla.com>
Tue, 01 Apr 2014 11:30:31 -0700
changeset 194926 bbaf247e9637cfccfdf5bb8285070229ef7218a9
parent 194925 83e1045e24bd5e058b4459006b10ae0e0acfd9df
child 194927 734e0f2b5083b3a283798624fd4209339d31566f
child 195105 535756591289cc88b6ac15ce7904d5cd4c123cad
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs971093
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 971093 - Intermittent testSettingsMenuItems | Exception caught - junit.framework.AssertionFailedError: Text string: '^Customize$' is not found! r=gbrown
mobile/android/base/tests/testSettingsMenuItems.java
--- a/mobile/android/base/tests/testSettingsMenuItems.java
+++ b/mobile/android/base/tests/testSettingsMenuItems.java
@@ -242,17 +242,17 @@ public class testSettingsMenuItems exten
 
             // Navigate back if on a phone. Tablets shouldn't do this because they use headers and fragments.
             if (mDevice.type.equals("phone")) {
                 int menuDepth = menuPath.length;
                 while (menuDepth > 0) {
                     mActions.sendSpecialKey(Actions.SpecialKey.BACK);
                     menuDepth--;
                     // Sleep so subsequent back actions aren't lost.
-                    mSolo.sleep(50);
+                    mSolo.sleep(150);
                 }
             }
         }
     }
 
     // Solo.waitForText usually scrolls down in a view when text is not visible.
     // In this test, Solo.waitForText scrolling does not work, so we use this
     // hack to do the same thing.