Bug 1207877 - Make robocop addTab(url) more robust; r=margaret
authorGeoff Brown <gbrown@mozilla.com>
Tue, 19 Jan 2016 07:22:02 -0700
changeset 317548 31cea552fc109145182f79037b96003ebf02e654
parent 317547 c0b8624a9591e7368753977a66fdacbc609c1e29
child 317549 cfaafbd4bcf9bf7f26a052873984896d5ec50570
push id1079
push userjlund@mozilla.com
push dateFri, 15 Apr 2016 21:02:33 +0000
treeherdermozilla-release@575fbf6786d5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1207877
milestone46.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 1207877 - Make robocop addTab(url) more robust; r=margaret
mobile/android/tests/browser/robocop/robocop.ini
mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/BaseTest.java
--- a/mobile/android/tests/browser/robocop/robocop.ini
+++ b/mobile/android/tests/browser/robocop/robocop.ini
@@ -53,18 +53,16 @@ skip-if = android_version == "10"
 [src/org/mozilla/gecko/tests/testJarReader.java]
 [src/org/mozilla/gecko/tests/testLinkContextMenu.java]
 # disabled on 4.3, bug 1083666
 skip-if = android_version == "18"
 # [src/org/mozilla/gecko/tests/testHomeListsProvider.java] # see bug 952310
 [src/org/mozilla/gecko/tests/testLoad.java]
 [src/org/mozilla/gecko/tests/testMailToContextMenu.java]
 [src/org/mozilla/gecko/tests/testNewTab.java]
-# disabled on 4.3, bug 1145851
-skip-if = android_version == "18"
 [src/org/mozilla/gecko/tests/testPanCorrectness.java]
 # disabled on 4.3, bug 1144874
 skip-if = android_version == "18"
 # [src/org/mozilla/gecko/tests/testPasswordEncrypt.java] # see bug 824067
 [src/org/mozilla/gecko/tests/testPasswordProvider.java]
 # [src/org/mozilla/gecko/tests/testPermissions.java] # see bug 757475
 [src/org/mozilla/gecko/tests/testPictureLinkContextMenu.java]
 # disabled on 4.3, bug 1031496
--- a/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/BaseTest.java
+++ b/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/BaseTest.java
@@ -577,17 +577,17 @@ abstract class BaseTest extends BaseRobo
         }
         pageShowExpecter.unregisterListener();
     }
 
     public void addTab(String url) {
         addTab();
 
         // Adding a new tab opens about:home, so now we just need to load the url in it.
-        inputAndLoadUrl(url);
+        loadUrlAndWait(url);
     }
 
     public void closeAddedTabs() {
         for(int tabID : mKnownTabIDs) {
             closeTab(tabID);
         }
     }