Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: tools/telemetry/telemetry/page/actions/seek_unittest.py

Issue 132923002: Disable unit tests that fail on cros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@oobe
Patch Set: rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/page/actions/seek_unittest.py
diff --git a/tools/telemetry/telemetry/page/actions/seek_unittest.py b/tools/telemetry/telemetry/page/actions/seek_unittest.py
index e3a3286a78d7e13e24011a549b43594d5a0081c6..ab6190e0b158af2e573374176d16933dba1c5dba 100644
--- a/tools/telemetry/telemetry/page/actions/seek_unittest.py
+++ b/tools/telemetry/telemetry/page/actions/seek_unittest.py
@@ -4,6 +4,7 @@
from telemetry.core import util
from telemetry.page.actions import seek
+from telemetry.unittest import DisabledTestOnCrOS
from telemetry.unittest import tab_test_case
AUDIO_1_SEEKED_CHECK = 'window.__hasEventCompleted("#audio_1", "seeked");'
@@ -18,6 +19,7 @@ class SeekActionTest(tab_test_case.TabTestCase):
self._tab.Navigate(self._browser.http_server.UrlOf('video_test.html'))
self._tab.WaitForDocumentReadyStateToBeComplete()
+ @DisabledTestOnCrOS
def testSeekWithNoSelector(self):
"""Tests that with no selector Seek action seeks first media element."""
data = {'wait_for_seeked': True, 'seek_time': 1}
@@ -28,6 +30,7 @@ class SeekActionTest(tab_test_case.TabTestCase):
self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_SEEKED_CHECK))
self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_SEEKED_CHECK))
+ @DisabledTestOnCrOS
def testSeekWithVideoSelector(self):
"""Tests that Seek action seeks video element matching selector."""
data = {'selector': '#video_1', 'wait_for_seeked': True, 'seek_time': 1}
@@ -41,6 +44,7 @@ class SeekActionTest(tab_test_case.TabTestCase):
self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_SEEKED_CHECK))
self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_SEEKED_CHECK))
+ @DisabledTestOnCrOS
def testSeekWithAllSelector(self):
"""Tests that Seek action seeks all video elements with selector='all'."""
data = {'selector': 'all', 'wait_for_seeked': True, 'seek_time': 1}
@@ -55,6 +59,7 @@ class SeekActionTest(tab_test_case.TabTestCase):
self.assertTrue(self._tab.EvaluateJavaScript(AUDIO_1_SEEKED_CHECK))
# http://crbug.com/273887
+ @DisabledTestOnCrOS
def testSeekWaitForSeekTimeout(self):
"""Tests that wait_for_seeked timeouts if video does not seek."""
data = {'selector': '#video_1',
« no previous file with comments | « tools/telemetry/telemetry/page/actions/play_unittest.py ('k') | tools/telemetry/telemetry/page/actions/wait_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698