Bug 867812 - get rid of skip, r=jgriffin
authorMalini Das <mdas@mozilla.com>
Wed, 01 May 2013 19:52:40 -0400
changeset 141509 cdfa3301b1725d0545fd1cfa7f82b84eb46d48ae
parent 141508 29aa0fd47707864bf9307ca51e5e06b523e128ca
child 141510 0a050b75a9af850ef89307e9839e9d54afd424c0
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin
bugs867812
milestone23.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 867812 - get rid of skip, r=jgriffin
testing/marionette/client/marionette/tests/unit/test_single_finger.py
--- a/testing/marionette/client/marionette/tests/unit/test_single_finger.py
+++ b/testing/marionette/client/marionette/tests/unit/test_single_finger.py
@@ -1,17 +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/.
 
 import time
 from marionette_test import MarionetteTestCase
 from marionette import Actions
 from errors import NoSuchElementException, MarionetteException
-from unittest import skip
 
 class testSingleFinger(MarionetteTestCase):
     def test_wait(self):
         testTouch = self.marionette.absolute_url("testAction.html")
         self.marionette.navigate(testTouch)
         button = self.marionette.find_element("id", "mozLinkCopy")
         action = Actions(self.marionette)
         action.press(button).wait(0.2).release()
@@ -127,50 +126,54 @@ class testSingleFinger(MarionetteTestCas
         testTouch = self.marionette.absolute_url("testAction.html")
         self.marionette.navigate(testTouch)
         button = self.marionette.find_element("id", "mozLinkCopy")
         action = Actions(self.marionette)
         action.long_press(button, 5).perform()
         time.sleep(10)
         self.assertEqual("ContextEnd", self.marionette.execute_script("return document.getElementById('mozLinkCopy').innerHTML;"))
 
-    @skip("Skipping due to Bug 865334")
+    """
+    #Skipping due to Bug 865334
     def test_long_press_fail(self):
         testTouch = self.marionette.absolute_url("testAction.html")
         self.marionette.navigate(testTouch)
         button = self.marionette.find_element("id", "mozLinkCopy")
         action = Actions(self.marionette)
         action.press(button).long_press(button, 5)
         self.assertRaises(MarionetteException, action.perform)
+    """
 
     def test_wrong_value(self):
         testTouch = self.marionette.absolute_url("testAction.html")
         self.marionette.navigate(testTouch)
         self.assertRaises(MarionetteException, self.marionette.send_mouse_event, "boolean")
 
     def test_chain_flick(self):
         testTouch = self.marionette.absolute_url("testAction.html")
         self.marionette.navigate(testTouch)
         button = self.marionette.find_element("id", "mozLinkScrollStart")
         action = Actions(self.marionette)
         action.flick(button, 0, 0, 0, -250).perform()
         time.sleep(15)
         self.assertEqual("End", self.marionette.execute_script("return document.getElementById('mozLinkScroll').innerHTML;"))
         self.assertEqual("Start", self.marionette.execute_script("return document.getElementById('mozLinkScrollStart').innerHTML;"))
 
-    @skip("Skipping due to Bug 865334")
+    """
+    #Skipping due to Bug 865334
     def test_touchcancel_chain(self):
         testTouch = self.marionette.absolute_url("testAction.html")
         self.marionette.navigate(testTouch)
         button = self.marionette.find_element("id", "mozLinkCancel")
         action = Actions(self.marionette)
         action.press(button).wait(5).cancel()
         action.perform()
         time.sleep(15)
         self.assertEqual("End", self.marionette.execute_script("return document.getElementById('mozLinkCancel').innerHTML;"))
+    """
 
     def test_mouse_single_tap(self):
         testTouch = self.marionette.absolute_url("testAction.html")
         self.marionette.navigate(testTouch)
         self.marionette.send_mouse_event(True)
         button = self.marionette.find_element("id", "mozMouse")
         action = Actions(self.marionette)
         action.tap(button).perform()