| 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',
|
|
|