Bug 1003688: Reenable Marionette scrolling test; r=me
authorDavid Burns <dburns@mozilla.com>
Fri, 27 May 2016 22:02:04 +0100
changeset 340411 e079016796cc75f450cdfddf4409c4a69bdfd710
parent 340410 ddd9b902f9e11e0e18709accab05982245e27dbe
child 340412 2e2085781ab223642bb266ff729a7569fdaf1858
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1003688
milestone49.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 1003688: Reenable Marionette scrolling test; r=me This should have been reenabled when we fixed the Marionette scrolling MozReview-Commit-ID: HrfklF1c1Zz
testing/marionette/harness/marionette/tests/unit/test_click_scrolling.py
--- a/testing/marionette/harness/marionette/tests/unit/test_click_scrolling.py
+++ b/testing/marionette/harness/marionette/tests/unit/test_click_scrolling.py
@@ -55,17 +55,16 @@ class TestClickScrolling(MarionetteTestC
         self.marionette.navigate(test_html)
 
         list_el = self.marionette.find_element(By.TAG_NAME, "ul")
         item = list_el.find_element(By.ID, "desired")
         item.click()
         y_offset = self.marionette.execute_script("return arguments[0].scrollTop;", script_args=[list_el])
         self.assertEqual(0, y_offset)
 
-    @skip("Bug 1003688")
     def test_should_not_scroll_if_already_scrolled_and_element_is_in_view(self):
         test_html = self.marionette.absolute_url("scroll3.html")
         self.marionette.navigate(test_html)
 
         self.marionette.find_element(By.ID, "button1").click()
         scroll_top = self.marionette.execute_script("return document.body.scrollTop;")
         self.marionette.find_element(By.ID, "button2").click()
         self.assertEqual(scroll_top, self.marionette.execute_script("return document.body.scrollTop;"))