Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / page / actions / loop_unittest.py
index 827e418..68a2a4f 100644 (file)
@@ -17,20 +17,22 @@ class LoopActionTest(tab_test_case.TabTestCase):
     tab_test_case.TabTestCase.setUp(self)
     self.Navigate('video_test.html')
 
-  @decorators.Disabled('android')
+  @decorators.Disabled('android', 'linux')  # crbug.com/418577
   def testLoopWithNoSelector(self):
     """Tests that with no selector Loop action loops first media element."""
-    action = loop.LoopAction(loop_count=2, selector='#video_1')
+    action = loop.LoopAction(loop_count=2, selector='#video_1',
+                             timeout_in_seconds=10)
     action.WillRunAction(self._tab)
     action.RunAction(self._tab)
     # Assert only first video has played.
     self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_LOOP_CHECK))
     self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_LOOP_CHECK))
 
-  @decorators.Disabled('android')
+  @decorators.Disabled('android', 'linux')  # crbug.com/418577
   def testLoopWithAllSelector(self):
     """Tests that Loop action loops all video elements with selector='all'."""
-    action = loop.LoopAction(loop_count=2, selector='all')
+    action = loop.LoopAction(loop_count=2, selector='all',
+                             timeout_in_seconds=10)
     action.WillRunAction(self._tab)
     # Both videos not playing before running action.
     self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_LOOP_CHECK))
@@ -40,7 +42,7 @@ class LoopActionTest(tab_test_case.TabTestCase):
     self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_LOOP_CHECK))
     self.assertTrue(self._tab.EvaluateJavaScript(AUDIO_1_LOOP_CHECK))
 
-  @decorators.Disabled('android', 'linux')
+  @decorators.Disabled('android', 'linux')  # crbug.com/418577
   def testLoopWaitForLoopTimeout(self):
     """Tests that wait_for_loop timeout_in_secondss if video does not loop."""
     action = loop.LoopAction(loop_count=2, selector='#video_1',