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

Side by Side Diff: tools/perf/page_sets/webrtc_cases.py

Issue 2911663003: Verify story names for story sets with explicitly set names. (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/trivial_sites.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 'document.getElementById("num-peerconnections").value=15') 115 'document.getElementById("num-peerconnections").value=15')
116 action_runner.ExecuteJavaScript( 116 action_runner.ExecuteJavaScript(
117 'document.getElementById("cpuoveruse-detection").checked=false') 117 'document.getElementById("cpuoveruse-detection").checked=false')
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 verify_names=True)
126 127
127 self.AddStory(GetUserMedia(self, tags=['getusermedia'])) 128 self.AddStory(GetUserMedia(self, tags=['getusermedia']))
128 # TODO(ehmaldonado): Re-enable once http://crbug.com/725502 is fixed. 129 # TODO(ehmaldonado): Re-enable once http://crbug.com/725502 is fixed.
129 # self.AddStory(MultiplePeerConnections(self, tags=['stress'])) 130 # self.AddStory(MultiplePeerConnections(self, tags=['stress']))
130 self.AddStory(VideoCall(self, tags=['peerconnection', 'smoothness'])) 131 self.AddStory(VideoCall(self, tags=['peerconnection', 'smoothness']))
131 self.AddStory(DataChannel(self, tags=['datachannel'])) 132 self.AddStory(DataChannel(self, tags=['datachannel']))
132 self.AddStory(CanvasCapturePeerConnection(self, tags=['smoothness'])) 133 self.AddStory(CanvasCapturePeerConnection(self, tags=['smoothness']))
133 # TODO(qyearsley, mcasas): Add webrtc.audio when http://crbug.com/468732 134 # TODO(qyearsley, mcasas): Add webrtc.audio when http://crbug.com/468732
134 # is fixed, or revert https://codereview.chromium.org/1544573002/ when 135 # is fixed, or revert https://codereview.chromium.org/1544573002/ when
135 # http://crbug.com/568333 is fixed. 136 # http://crbug.com/568333 is fixed.
136 # self.AddStory(AudioCall(self, 'OPUS')) 137 # self.AddStory(AudioCall(self, 'OPUS'))
137 # self.AddStory(AudioCall(self, 'G772')) 138 # self.AddStory(AudioCall(self, 'G772'))
138 # self.AddStory(AudioCall(self, 'PCMU')) 139 # self.AddStory(AudioCall(self, 'PCMU'))
139 # self.AddStory(AudioCall(self, 'ISAC/1600')) 140 # self.AddStory(AudioCall(self, 'ISAC/1600'))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/trivial_sites.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698