Bug 880650 - Don't try to dismiss VKB during testBookmarksTab; r=adrian.tamas
authorJim Chen <nchen@mozilla.com>
Tue, 18 Jun 2013 15:49:14 -0400
changeset 135498 63a1892e5298c05d3fbd43378358a496da1fd2fb
parent 135497 38f7c6ceb5d65a3c1442e952d4a313e70a3641c3
child 135499 06aec3398e052a98aab3f335b61e0169df455de2
push id24842
push useremorley@mozilla.com
push dateWed, 19 Jun 2013 13:23:18 +0000
treeherdermozilla-central@bef2efa89087 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadrian.tamas
bugs880650
milestone24.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 880650 - Don't try to dismiss VKB during testBookmarksTab; r=adrian.tamas
mobile/android/base/tests/BaseTest.java.in
--- a/mobile/android/base/tests/BaseTest.java.in
+++ b/mobile/android/base/tests/BaseTest.java.in
@@ -687,17 +687,16 @@ abstract class BaseTest extends Activity
         // Clear the Field
         mSolo.clearEditText(fieldIndex);
 
         // Enter the new text
         mSolo.clickOnEditText(fieldIndex);
         mActions.sendKeys(addedText);
         mSolo.clickOnText("OK");
         waitForText("Bookmark updated");
-        toggleVKB(); // close the VKB
     }
 
     public boolean checkBookmarkEdit(int bookmarkIndex, String addedText, ListView list) {
         Device mDevice = new Device();
         // Open the Edit Bookmark context menu
         View child;
         mSolo.clickOnText("Bookmarks");
         child = list.getChildAt(bookmarkIndex);
@@ -707,22 +706,20 @@ abstract class BaseTest extends Activity
         waitForText("Share");
         mSolo.clickOnText("Edit");
         waitForText("Edit Bookmark");
 
         // Check if the new text was added
         if (mSolo.searchText(addedText)) {
             clickOnButton("Cancel");
             waitForText("about:home");
-            toggleVKB(); // close the VKB
             return true;
         } else {
             clickOnButton("Cancel");
             waitForText("about:home");
-            toggleVKB(); // close the VKB
             return false;
         }
     }
 
     class Device {
         public final String version; // 2.x or 3.x or 4.x
         public String type; // "tablet" or "phone"
         public final int width;