| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from telemetry import story | 5 from telemetry import story |
| 6 from telemetry.page import page as page_module | 6 from telemetry.page import page as page_module |
| 7 | 7 |
| 8 | 8 |
| 9 class WebrtcPage(page_module.Page): | 9 class WebrtcPage(page_module.Page): |
| 10 | 10 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 action_runner.ClickElement('button[id="start-test"]') | 118 action_runner.ClickElement('button[id="start-test"]') |
| 119 action_runner.Wait(45) | 119 action_runner.Wait(45) |
| 120 | 120 |
| 121 | 121 |
| 122 class WebrtcPageSet(story.StorySet): | 122 class WebrtcPageSet(story.StorySet): |
| 123 def __init__(self): | 123 def __init__(self): |
| 124 super(WebrtcPageSet, self).__init__( | 124 super(WebrtcPageSet, self).__init__( |
| 125 cloud_storage_bucket=story.PUBLIC_BUCKET) | 125 cloud_storage_bucket=story.PUBLIC_BUCKET) |
| 126 | 126 |
| 127 self.AddStory(GetUserMedia(self, tags=['getusermedia'])) | 127 self.AddStory(GetUserMedia(self, tags=['getusermedia'])) |
| 128 self.AddStory(MultiplePeerConnections(self, tags=['stress'])) | 128 # TODO(ehmaldonado): Re-enable once http://crbug.com/725502 is fixed. |
| 129 # self.AddStory(MultiplePeerConnections(self, tags=['stress'])) |
| 129 self.AddStory(VideoCall(self, tags=['peerconnection', 'smoothness'])) | 130 self.AddStory(VideoCall(self, tags=['peerconnection', 'smoothness'])) |
| 130 self.AddStory(DataChannel(self, tags=['datachannel'])) | 131 self.AddStory(DataChannel(self, tags=['datachannel'])) |
| 131 self.AddStory(CanvasCapturePeerConnection(self, tags=['smoothness'])) | 132 self.AddStory(CanvasCapturePeerConnection(self, tags=['smoothness'])) |
| 132 # TODO(qyearsley, mcasas): Add webrtc.audio when http://crbug.com/468732 | 133 # TODO(qyearsley, mcasas): Add webrtc.audio when http://crbug.com/468732 |
| 133 # is fixed, or revert https://codereview.chromium.org/1544573002/ when | 134 # is fixed, or revert https://codereview.chromium.org/1544573002/ when |
| 134 # http://crbug.com/568333 is fixed. | 135 # http://crbug.com/568333 is fixed. |
| 135 # self.AddStory(AudioCall(self, 'OPUS')) | 136 # self.AddStory(AudioCall(self, 'OPUS')) |
| 136 # self.AddStory(AudioCall(self, 'G772')) | 137 # self.AddStory(AudioCall(self, 'G772')) |
| 137 # self.AddStory(AudioCall(self, 'PCMU')) | 138 # self.AddStory(AudioCall(self, 'PCMU')) |
| 138 # self.AddStory(AudioCall(self, 'ISAC/1600')) | 139 # self.AddStory(AudioCall(self, 'ISAC/1600')) |
| 139 | |
| 140 | |
| 141 class WebrtcExpectations(story.expectations.StoryExpectations): | |
| 142 def SetExpectations(self): | |
| 143 self.DisableStory('multiple_peerconnections', [story.expectations.ALL], | |
| 144 'crbug.com/725502') | |
| OLD | NEW |