Bug 1293855 - Skip test_should_not_scroll_elements_if_click_point_is_in_view for Fennec. r=maja_zf, a=test-only
authorHenrik Skupin <mail@hskupin.info>
Mon, 23 Jan 2017 16:05:32 +0100
changeset 375637 aff1199e39e9d3d0670c443c4364a56cfda39b12
parent 375636 afc5a1356407a17a23a17bd5c0b6cd99a15d9417
child 375638 618ab47306e41b496995d087596536309726c68d
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaja_zf, test-only
bugs1293855
milestone53.0a2
Bug 1293855 - Skip test_should_not_scroll_elements_if_click_point_is_in_view for Fennec. r=maja_zf, a=test-only MozReview-Commit-ID: 2DhiwLimdhV
testing/marionette/harness/marionette_harness/tests/unit/test_click_scrolling.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_click_scrolling.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_click_scrolling.py
@@ -1,16 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from marionette_driver.by import By
 from marionette_driver.errors import MoveTargetOutOfBoundsException
 
-from marionette_harness import MarionetteTestCase, skip
+from marionette_harness import MarionetteTestCase, skip, skip_if_mobile
 
 
 class TestClickScrolling(MarionetteTestCase):
 
 
     def test_clicking_on_anchor_scrolls_page(self):
         scrollScript = """
             var pageY;
@@ -92,16 +92,17 @@ class TestClickScrolling(MarionetteTestC
             self.assertNotEqual(scroll_y, self.marionette.execute_script("return window.scrollY;"))
 
         for s in ["left", "right"]:
             self.marionette.navigate(test_html)
             scroll_x = self.marionette.execute_script("return window.scrollX;")
             self.marionette.find_element(By.ID, "{}-70".format(s)).click()
             self.assertNotEqual(scroll_x, self.marionette.execute_script("return window.scrollX;"))
 
+    @skip_if_mobile("Bug 1293855 - Lists differ: [70, 70] != [70, 120]")
     def test_should_not_scroll_elements_if_click_point_is_in_view(self):
         test_html = self.marionette.absolute_url("element_outside_viewport.html")
 
         for s in ["top", "right", "bottom", "left"]:
             for p in ["50", "30"]:
                 self.marionette.navigate(test_html)
                 scroll = self.marionette.execute_script("return [window.scrollX, window.scrollY];")
                 self.marionette.find_element(By.ID, "{0}-{1}".format(s, p)).click()