Bug 1371924 - Skip test_execute_script.py TestExecuteContent.test_return_value_on_alert on Android. r=ato, a=test-only on a CLOSED TREE
authorRyan VanderMeulen <ryanvm@gmail.com>
Mon, 12 Jun 2017 10:24:16 -0400
changeset 413927 7ffb29adc25b6fdc49537a092582e4102cdf976c
parent 413926 fe9cd350339cabfcadd23db134be34239fa7937d
child 413928 6967bb62e8fdb967b49332c9b2807fd54373007d
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato, test-only
bugs1371924
milestone55.0
Bug 1371924 - Skip test_execute_script.py TestExecuteContent.test_return_value_on_alert on Android. r=ato, a=test-only on a CLOSED TREE
testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py
@@ -348,16 +348,17 @@ class TestExecuteContent(MarionetteTestC
             return {
               toJSON () {
                 return document.documentElement;
               }
             }""",
             sandbox=None)
         self.assert_is_web_element(el)
 
+    @skip_if_mobile("Modal dialogs not supported in Fennec")
     def test_return_value_on_alert(self):
         res = self.marionette._send_message("executeScript", {"script": "alert()"})
         self.assertIn("value", res)
         self.assertIsNone(res["value"])
 
 
 class TestExecuteChrome(WindowManagerMixin, TestExecuteContent):