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

Unified Diff: tools/telemetry/telemetry/page/actions/play_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
Index: tools/telemetry/telemetry/page/actions/play_unittest.py
diff --git a/tools/telemetry/telemetry/page/actions/play_unittest.py b/tools/telemetry/telemetry/page/actions/play_unittest.py
index b0f43f15d3179b7ee7d40965359a388609fe4db8..7224647138ecacedbe14afe65647ad4635f0c007 100644
--- a/tools/telemetry/telemetry/page/actions/play_unittest.py
+++ b/tools/telemetry/telemetry/page/actions/play_unittest.py
@@ -18,7 +18,7 @@ class PlayActionTest(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 testPlayWithNoSelector(self):
"""Tests that with no selector Play action plays first video element."""
action = play.PlayAction(playing_event_timeout_in_seconds=5)
@@ -31,7 +31,7 @@ class PlayActionTest(tab_test_case.TabTestCase):
self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
- @decorators.Disabled('android')
+ @decorators.Disabled('android', 'linux') # crbug.com/418577
def testPlayWithVideoSelector(self):
"""Tests that Play action plays video element matching selector."""
action = play.PlayAction(selector='#video_1',
@@ -45,7 +45,7 @@ class PlayActionTest(tab_test_case.TabTestCase):
self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
- @decorators.Disabled('android')
+ @decorators.Disabled('android', 'linux') # crbug.com/418577
def testPlayWithAllSelector(self):
"""Tests that Play action plays all video elements with selector='all'."""
action = play.PlayAction(selector='all',
@@ -60,6 +60,7 @@ class PlayActionTest(tab_test_case.TabTestCase):
self.assertTrue(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
# http://crbug.com/273887
+ @decorators.Disabled('linux') # crbug.com/418577
def testPlayWaitForPlayTimeout(self):
"""Tests that wait_for_playing timeouts if video does not play."""
action = play.PlayAction(selector='#video_1',
@@ -69,7 +70,7 @@ class PlayActionTest(tab_test_case.TabTestCase):
self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
self.assertRaises(util.TimeoutException, action.RunAction, self._tab)
- @decorators.Disabled('android')
+ @decorators.Disabled('android', 'linux') # crbug.com/418577
def testPlayWaitForEnded(self):
"""Tests that wait_for_ended waits for video to end."""
action = play.PlayAction(selector='#video_1',
@@ -82,6 +83,7 @@ class PlayActionTest(tab_test_case.TabTestCase):
# Assert video ended.
self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_ENDED_CHECK))
+ @decorators.Disabled('linux') # crbug.com/418577
def testPlayWithoutWaitForEnded(self):
"""Tests that wait_for_ended waits for video to end."""
action = play.PlayAction(selector='#video_1',
@@ -94,6 +96,7 @@ class PlayActionTest(tab_test_case.TabTestCase):
# Assert video did not end.
self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_ENDED_CHECK))
+ @decorators.Disabled('linux') # crbug.com/418577
def testPlayWaitForEndedTimeout(self):
"""Tests that action raises exception if timeout is reached."""
action = play.PlayAction(selector='#video_1',
« no previous file with comments | « tools/telemetry/telemetry/page/actions/loop_unittest.py ('k') | tools/telemetry/telemetry/page/actions/seek_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698