OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 from telemetry.story import expectations | 4 from telemetry.story import expectations |
5 | 5 |
6 | 6 |
7 class SystemHealthDesktopCommonExpectations(expectations.StoryExpectations): | 7 class SystemHealthDesktopCommonExpectations(expectations.StoryExpectations): |
8 def SetExpectations(self): | 8 def SetExpectations(self): |
9 self.DisableStory('browse:news:hackernews', | 9 self.DisableStory('browse:news:hackernews', |
10 [expectations.ALL_WIN, expectations.ALL_MAC], | 10 [expectations.ALL_WIN, expectations.ALL_MAC], |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 self.DisableStory('browse:shopping:flipkart', [expectations.ALL_ANDROID], | 75 self.DisableStory('browse:shopping:flipkart', [expectations.ALL_ANDROID], |
76 'crbug.com/708300') | 76 'crbug.com/708300') |
77 self.DisableStory('browse:news:globo', [expectations.ALL_ANDROID], | 77 self.DisableStory('browse:news:globo', [expectations.ALL_ANDROID], |
78 'crbug.com/714650') | 78 'crbug.com/714650') |
79 self.DisableStory('load:tools:gmail', [expectations.ALL_ANDROID], | 79 self.DisableStory('load:tools:gmail', [expectations.ALL_ANDROID], |
80 'crbug.com/657433') | 80 'crbug.com/657433') |
81 self.DisableStory('long_running:tools:gmail-background', | 81 self.DisableStory('long_running:tools:gmail-background', |
82 [expectations.ALL_ANDROID], 'crbug.com/726301') | 82 [expectations.ALL_ANDROID], 'crbug.com/726301') |
83 self.DisableStory('long_running:tools:gmail-foreground', | 83 self.DisableStory('long_running:tools:gmail-foreground', |
84 [expectations.ALL_ANDROID], 'crbug.com/726301') | 84 [expectations.ALL_ANDROID], 'crbug.com/726301') |
85 self.DisableStory('browse:news:toi', [expectations.ALL_ANDROID], | |
86 'crbug.com/728081') | |
87 self.DisableStory('browse:social:facebook_infinite_scroll', | 85 self.DisableStory('browse:social:facebook_infinite_scroll', |
88 [expectations.ALL], 'crbug.com/728152') | 86 [expectations.ALL], 'crbug.com/728152') |
89 self.DisableStory('browse:media:flickr_infinite_scroll', | 87 self.DisableStory('browse:media:flickr_infinite_scroll', |
90 [expectations.ALL], 'crbug.com/728785') | 88 [expectations.ALL], 'crbug.com/728785') |
91 self.DisableStory('browse:chrome:newtab', | 89 self.DisableStory('browse:chrome:newtab', |
92 [expectations.ALL_ANDROID], 'crbug.com/735405') | 90 [expectations.ALL_ANDROID], 'crbug.com/735405') |
93 # TODO(rnephew): This disabling should move to CanRunOnBrowser. | 91 # TODO(rnephew): This disabling should move to CanRunOnBrowser. |
94 self.DisableStory('browse:chrome:omnibox', | 92 self.DisableStory('browse:chrome:omnibox', |
95 [expectations.ANDROID_WEBVIEW], | 93 [expectations.ANDROID_WEBVIEW], |
96 'Webview does not have omnibox') | 94 'Webview does not have omnibox') |
(...skipping 16 matching lines...) Expand all Loading... |
113 self.DisableStory('browse:shopping:flipkart', [expectations.ALL_ANDROID], | 111 self.DisableStory('browse:shopping:flipkart', [expectations.ALL_ANDROID], |
114 'crbug.com/708300') | 112 'crbug.com/708300') |
115 self.DisableStory('browse:news:globo', [expectations.ALL_ANDROID], | 113 self.DisableStory('browse:news:globo', [expectations.ALL_ANDROID], |
116 'crbug.com/714650') | 114 'crbug.com/714650') |
117 self.DisableStory('load:tools:gmail', [expectations.ALL_ANDROID], | 115 self.DisableStory('load:tools:gmail', [expectations.ALL_ANDROID], |
118 'crbug.com/657433') | 116 'crbug.com/657433') |
119 self.DisableStory('long_running:tools:gmail-background', | 117 self.DisableStory('long_running:tools:gmail-background', |
120 [expectations.ALL_ANDROID], 'crbug.com/726301') | 118 [expectations.ALL_ANDROID], 'crbug.com/726301') |
121 self.DisableStory('long_running:tools:gmail-foreground', | 119 self.DisableStory('long_running:tools:gmail-foreground', |
122 [expectations.ALL_ANDROID], 'crbug.com/726301') | 120 [expectations.ALL_ANDROID], 'crbug.com/726301') |
123 self.DisableStory('browse:news:toi', [expectations.ALL_ANDROID], | |
124 'crbug.com/728081') | |
125 self.DisableStory('browse:social:facebook_infinite_scroll', | 121 self.DisableStory('browse:social:facebook_infinite_scroll', |
126 [expectations.ALL], 'crbug.com/728152') | 122 [expectations.ALL], 'crbug.com/728152') |
127 self.DisableStory('browse:media:flickr_infinite_scroll', | 123 self.DisableStory('browse:media:flickr_infinite_scroll', |
128 [expectations.ALL], 'crbug.com/728785') | 124 [expectations.ALL], 'crbug.com/728785') |
129 self.DisableStory('browse:chrome:newtab', | 125 self.DisableStory('browse:chrome:newtab', |
130 [expectations.ALL_ANDROID], 'crbug.com/735405') | 126 [expectations.ALL_ANDROID], 'crbug.com/735405') |
131 # TODO(rnephew): This disabling should move to CanRunOnBrowser. | 127 # TODO(rnephew): This disabling should move to CanRunOnBrowser. |
132 self.DisableStory('browse:chrome:omnibox', | 128 self.DisableStory('browse:chrome:omnibox', |
133 [expectations.ANDROID_WEBVIEW], | 129 [expectations.ANDROID_WEBVIEW], |
134 'Webview does not have omnibox') | 130 'Webview does not have omnibox') |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 [expectations.ALL, expectations.ALL_WIN], | 192 [expectations.ALL, expectations.ALL_WIN], |
197 'crbug.com/728785') | 193 'crbug.com/728785') |
198 | 194 |
199 # Should only include browse:*:* stories. | 195 # Should only include browse:*:* stories. |
200 class V8BrowsingMobileExpecations(expectations.StoryExpectations): | 196 class V8BrowsingMobileExpecations(expectations.StoryExpectations): |
201 def SetExpectations(self): | 197 def SetExpectations(self): |
202 self.DisableStory('browse:shopping:flipkart', [expectations.ALL_ANDROID], | 198 self.DisableStory('browse:shopping:flipkart', [expectations.ALL_ANDROID], |
203 'crbug.com/708300') | 199 'crbug.com/708300') |
204 self.DisableStory('browse:news:globo', [expectations.ALL_ANDROID], | 200 self.DisableStory('browse:news:globo', [expectations.ALL_ANDROID], |
205 'crbug.com/714650') | 201 'crbug.com/714650') |
206 self.DisableStory('browse:news:toi', [expectations.ALL_ANDROID], | |
207 'crbug.com/728081') | |
208 self.DisableStory('browse:social:facebook_infinite_scroll', | 202 self.DisableStory('browse:social:facebook_infinite_scroll', |
209 [expectations.ALL], 'crbug.com/728152') | 203 [expectations.ALL], 'crbug.com/728152') |
210 self.DisableStory('browse:media:flickr_infinite_scroll', | 204 self.DisableStory('browse:media:flickr_infinite_scroll', |
211 [expectations.ALL], 'crbug.com/728785') | 205 [expectations.ALL], 'crbug.com/728785') |
212 self.DisableStory('browse:chrome:newtab', | 206 self.DisableStory('browse:chrome:newtab', |
213 [expectations.ALL_ANDROID], 'crbug.com/735405') | 207 [expectations.ALL_ANDROID], 'crbug.com/735405') |
214 # TODO(rnephew): This disabling should move to CanRunOnBrowser. | 208 # TODO(rnephew): This disabling should move to CanRunOnBrowser. |
215 self.DisableStory('browse:chrome:omnibox', | 209 self.DisableStory('browse:chrome:omnibox', |
216 [expectations.ANDROID_WEBVIEW], | 210 [expectations.ANDROID_WEBVIEW], |
217 'Webview does not have omnibox') | 211 'Webview does not have omnibox') |
218 # TODO(rnephew): This disabling should move to CanRunOnBrowser. | 212 # TODO(rnephew): This disabling should move to CanRunOnBrowser. |
219 self.DisableStory('browse:chrome:newtab', | 213 self.DisableStory('browse:chrome:newtab', |
220 [expectations.ANDROID_WEBVIEW], | 214 [expectations.ANDROID_WEBVIEW], |
221 'Webview does not have NTP') | 215 'Webview does not have NTP') |
222 self.DisableStory('browse:social:pinterest_infinite_scroll', | 216 self.DisableStory('browse:social:pinterest_infinite_scroll', |
223 [expectations.ANDROID_WEBVIEW], 'crbug.com/728528') | 217 [expectations.ANDROID_WEBVIEW], 'crbug.com/728528') |
224 | 218 |
225 | 219 |
226 class SystemHealthWebviewStartupExpectations(expectations.StoryExpectations): | 220 class SystemHealthWebviewStartupExpectations(expectations.StoryExpectations): |
227 def SetExpectations(self): | 221 def SetExpectations(self): |
228 pass # Nothing is disabled at this time. | 222 pass # Nothing is disabled at this time. |
OLD | NEW |