| 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 dc2052ad5c2245386ae1eb8361659463c259a096..f2daf9c909e8f5232c4366f23ad9af15f807ec9d 100644
|
| --- a/tools/telemetry/telemetry/page/actions/play_unittest.py
|
| +++ b/tools/telemetry/telemetry/page/actions/play_unittest.py
|
| @@ -64,7 +64,7 @@ class PlayActionTest(tab_test_case.TabTestCase):
|
| def testPlayWaitForPlayTimeout(self):
|
| """Tests that wait_for_playing timeouts if video does not play."""
|
| action = play.PlayAction(selector='#video_1',
|
| - playing_event_timeout_in_seconds=1)
|
| + playing_event_timeout_in_seconds=0.1)
|
| action.WillRunAction(self._tab)
|
| self._tab.EvaluateJavaScript('document.getElementById("video_1").src = ""')
|
| self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
|
| @@ -98,7 +98,7 @@ class PlayActionTest(tab_test_case.TabTestCase):
|
| def testPlayWaitForEndedTimeout(self):
|
| """Tests that action raises exception if timeout is reached."""
|
| action = play.PlayAction(selector='#video_1',
|
| - ended_event_timeout_in_seconds=1)
|
| + ended_event_timeout_in_seconds=0.1)
|
| action.WillRunAction(self._tab)
|
| # Assert video not playing before running action.
|
| self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
|
|
|