Bug 1003688: Reenable Marionette scrolling test; r=me
authorDavid Burns <dburns@mozilla.com>
Fri, 27 May 2016 22:02:04 +0100
changeset 372386 e079016796cc75f450cdfddf4409c4a69bdfd710
parent 372385 ddd9b902f9e11e0e18709accab05982245e27dbe
child 372387 2e2085781ab223642bb266ff729a7569fdaf1858
push id19519
push userbmo:rail@mozilla.com
push dateSat, 28 May 2016 13:01:27 +0000
reviewersme
bugs1003688
milestone49.0a1
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;"))