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

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

Issue 647443003: [Telemetry] Disable tests which flake on linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « tools/telemetry/telemetry/page/actions/play_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 108f56e5edbb6d4cb936bef51e56cd69be1f9ef5..e5ed5262bda057ac5238b58b2ffb7762cd5cb39a 100644
--- a/tools/telemetry/telemetry/page/actions/seek_unittest.py
+++ b/tools/telemetry/telemetry/page/actions/seek_unittest.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from telemetry import decorators
from telemetry.core import util
from telemetry.page.actions import seek
from telemetry.unittest import tab_test_case
@@ -16,6 +17,7 @@ class SeekActionTest(tab_test_case.TabTestCase):
tab_test_case.TabTestCase.setUp(self)
self.Navigate('video_test.html')
+ @decorators.Disabled('linux') # crbug.com/418577
def testSeekWithNoSelector(self):
"""Tests that with no selector Seek action seeks first media element."""
action = seek.SeekAction(seconds=1, timeout_in_seconds=5)
@@ -25,6 +27,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))
+ @decorators.Disabled('linux') # crbug.com/418577
def testSeekWithVideoSelector(self):
"""Tests that Seek action seeks video element matching selector."""
action = seek.SeekAction(seconds=1, selector='#video_1',
@@ -38,6 +41,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))
+ @decorators.Disabled('linux') # crbug.com/418577
def testSeekWithAllSelector(self):
"""Tests that Seek action seeks all video elements with selector='all'."""
action = seek.SeekAction(seconds=1, selector='all',
@@ -51,6 +55,7 @@ class SeekActionTest(tab_test_case.TabTestCase):
self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_SEEKED_CHECK))
self.assertTrue(self._tab.EvaluateJavaScript(AUDIO_1_SEEKED_CHECK))
+ @decorators.Disabled('linux') # crbug.com/418577
def testSeekWaitForSeekTimeout(self):
"""Tests that wait_for_seeked timeouts if video does not seek."""
action = seek.SeekAction(seconds=1, selector='#video_1',
« no previous file with comments | « tools/telemetry/telemetry/page/actions/play_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698