Index: tools/telemetry/telemetry/page/actions/loop_unittest.py |
diff --git a/tools/telemetry/telemetry/page/actions/loop_unittest.py b/tools/telemetry/telemetry/page/actions/loop_unittest.py |
index 2b0ae881d79e9d0f10ee774951702a862e40d26f..9317ffbbb83ef30f1e1c65d48be5126eb0c4ab44 100644 |
--- a/tools/telemetry/telemetry/page/actions/loop_unittest.py |
+++ b/tools/telemetry/telemetry/page/actions/loop_unittest.py |
@@ -4,6 +4,7 @@ |
from telemetry.core import util |
from telemetry.page.actions import loop |
+from telemetry.unittest import DisabledTestOnCrOS |
from telemetry.unittest import tab_test_case |
AUDIO_1_LOOP_CHECK = 'window.__hasEventCompleted("#audio_1", "loop");' |
@@ -18,6 +19,7 @@ class LoopActionTest(tab_test_case.TabTestCase): |
self._tab.Navigate(self._browser.http_server.UrlOf('video_test.html')) |
self._tab.WaitForDocumentReadyStateToBeComplete() |
+ @DisabledTestOnCrOS |
def testLoopWithNoSelector(self): |
"""Tests that with no selector Loop action loops first media element.""" |
data = {'selector': '#video_1', 'loop_count': 2} |
@@ -28,6 +30,7 @@ class LoopActionTest(tab_test_case.TabTestCase): |
self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_LOOP_CHECK)) |
self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_LOOP_CHECK)) |
+ @DisabledTestOnCrOS |
def testLoopWithAllSelector(self): |
"""Tests that Loop action loops all video elements with selector='all'.""" |
data = {'selector': 'all', 'loop_count': 2} |
@@ -41,6 +44,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)) |
+ @DisabledTestOnCrOS |
def testLoopWaitForLoopTimeout(self): |
"""Tests that wait_for_loop timeouts if video does not loop.""" |
data = {'selector': '#video_1', |