Bug 1137483 - Replace back actions with Solo.goBack in testInputUrlBar. r=me
☠☠ backed out by 0dcde37d8600 ☠ ☠
authorMichael Comella <michael.l.comella@gmail.com>
Tue, 05 May 2015 16:48:17 -0700
changeset 272493 3dae1f0d8b0bbcdb17b56650752b80b2f41e9aaf
parent 272492 3a1669b7df0f9e78b216e807962847023cd92dd5
child 272494 651329fc467add421e4188851163b39ac820b6bc
push id4830
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:18:48 +0000
treeherdermozilla-beta@4c2175bb0420 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1137483, 1161820
milestone40.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 1137483 - Replace back actions with Solo.goBack in testInputUrlBar. r=me This caused some test failures (see comment 34) - I filed bug 1161820 to prevent this issue in other tests.
mobile/android/tests/browser/robocop/testInputUrlBar.java
--- a/mobile/android/tests/browser/robocop/testInputUrlBar.java
+++ b/mobile/android/tests/browser/robocop/testInputUrlBar.java
@@ -83,20 +83,20 @@ public final class testInputUrlBar exten
             public void run() {
                 editText.selectAll();
             }
         });
         mActions.sendKeys("uv");
         assertUrlBarText("uv");
 
         // Dismiss the VKB
-        mActions.sendSpecialKey(Actions.SpecialKey.BACK);
+        mSolo.goBack();
 
         // Dismiss editing mode
-        mActions.sendSpecialKey(Actions.SpecialKey.BACK);
+        mSolo.goBack();
 
         waitForText(mStringHelper.TITLE_PLACE_HOLDER);
 
         // URL bar should have forgotten about "uv" text.
         startEditingMode();
         assertUrlBarText(mStringHelper.ABOUT_HOME_URL);
 
         int width = mDriver.getGeckoWidth() / 2;