diff --git a/gaiatest/tests/manifest.ini b/gaiatest/tests/manifest.ini index 49472d44..4f0c64bf 100644 --- a/gaiatest/tests/manifest.ini +++ b/gaiatest/tests/manifest.ini @@ -34,7 +34,6 @@ xfail = false [test_browser_cell_data.py] carrier = true -disabled = No SIM/data plan on CI [test_browser_lan.py] lan = true [test_calculator.py] diff --git a/gaiatest/tests/test_browser_cell_data.py b/gaiatest/tests/test_browser_cell_data.py index 7a572062..3b0647ee 100644 --- a/gaiatest/tests/test_browser_cell_data.py +++ b/gaiatest/tests/test_browser_cell_data.py @@ -22,6 +22,8 @@ def setUp(self): # launch the app self.app = self.apps.launch('Browser') + self.wait_for_condition(lambda m: m.execute_script("return window.wrappedJSObject.Browser.hasLoaded;") == True) + def test_browser_cell_data(self): # https://moztrap.mozilla.org/manage/case/1328/ diff --git a/gaiatest/tests/test_browser_lan.py b/gaiatest/tests/test_browser_lan.py index 0e768a51..1bf27860 100644 --- a/gaiatest/tests/test_browser_lan.py +++ b/gaiatest/tests/test_browser_lan.py @@ -24,6 +24,8 @@ def setUp(self): # launch the app self.app = self.apps.launch('Browser') + self.wait_for_condition(lambda m: m.execute_script("return window.wrappedJSObject.Browser.hasLoaded;") == True) + def test_browser_lan(self): # https://moztrap.mozilla.org/manage/case/1327/