| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import logging | 5 import logging |
| 6 | 6 |
| 7 from page_sets.login_helpers import dropbox_login | 7 from page_sets.login_helpers import dropbox_login |
| 8 from page_sets.login_helpers import google_login | 8 from page_sets.login_helpers import google_login |
| 9 | 9 |
| 10 from telemetry import story | 10 from telemetry import story |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 # to mixed content). The desktop page | 183 # to mixed content). The desktop page |
| 184 # (http://news.sohu.com/20160503/n447433356.shtml) almost always fails | 184 # (http://news.sohu.com/20160503/n447433356.shtml) almost always fails |
| 185 # to completely load due to | 185 # to completely load due to |
| 186 # https://github.com/chromium/web-page-replay/issues/74. | 186 # https://github.com/chromium/web-page-replay/issues/74. |
| 187 _PageSpec( | 187 _PageSpec( |
| 188 name='sohu', | 188 name='sohu', |
| 189 url={'mobile': 'http://m.sohu.com/n/447433356/'}), | 189 url={'mobile': 'http://m.sohu.com/n/447433356/'}), |
| 190 _PageSpec( | 190 _PageSpec( |
| 191 name='wikipedia', | 191 name='wikipedia', |
| 192 url='https://en.wikipedia.org/wiki/Science'), | 192 url='https://en.wikipedia.org/wiki/Science'), |
| 193 # Redirects to the "http://" version. | |
| 194 _PageSpec( | |
| 195 name='engadget', | |
| 196 url='https://www.engadget.com/uk/'), | |
| 197 ], | 193 ], |
| 198 | 194 |
| 199 # Audio and video. | 195 # Audio and video. |
| 200 'media': [ | 196 'media': [ |
| 201 # No way to disable autoplay on desktop. | 197 # No way to disable autoplay on desktop. |
| 202 _PageSpec( | 198 _PageSpec( |
| 203 name='youtube', | 199 name='youtube', |
| 204 url='https://www.youtube.com/watch?v=QGfhS1hfTWw&autoplay=false'), | 200 url='https://www.youtube.com/watch?v=QGfhS1hfTWw&autoplay=false'), |
| 205 # The side panel with related videos doesn't show on desktop due to | 201 # The side panel with related videos doesn't show on desktop due to |
| 206 # https://github.com/chromium/web-page-replay/issues/74. | 202 # https://github.com/chromium/web-page-replay/issues/74. |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 349 |
| 354 | 350 |
| 355 class DesktopMemorySystemHealthStorySet(_MemorySystemHealthStorySet): | 351 class DesktopMemorySystemHealthStorySet(_MemorySystemHealthStorySet): |
| 356 """Desktop user stories for Chrome Memory System Health Plan.""" | 352 """Desktop user stories for Chrome Memory System Health Plan.""" |
| 357 PLATFORM = 'desktop' | 353 PLATFORM = 'desktop' |
| 358 | 354 |
| 359 | 355 |
| 360 class MobileMemorySystemHealthStorySet(_MemorySystemHealthStorySet): | 356 class MobileMemorySystemHealthStorySet(_MemorySystemHealthStorySet): |
| 361 """Mobile user stories for Chrome Memory System Health Plan.""" | 357 """Mobile user stories for Chrome Memory System Health Plan.""" |
| 362 PLATFORM = 'mobile' | 358 PLATFORM = 'mobile' |
| OLD | NEW |