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