| 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 from page_sets.system_health import platforms | 5 from page_sets.system_health import platforms |
| 6 from page_sets.system_health import system_health_story | 6 from page_sets.system_health import system_health_story |
| 7 | 7 |
| 8 from page_sets.login_helpers import dropbox_login | 8 from page_sets.login_helpers import dropbox_login |
| 9 from page_sets.login_helpers import google_login | 9 from page_sets.login_helpers import google_login |
| 10 | 10 |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 # Online tools (documents, emails, storage, ...). | 271 # Online tools (documents, emails, storage, ...). |
| 272 ################################################################################ | 272 ################################################################################ |
| 273 | 273 |
| 274 | 274 |
| 275 class LoadDocsStory(_LoadingStory): | 275 class LoadDocsStory(_LoadingStory): |
| 276 NAME = 'load:tools:docs' | 276 NAME = 'load:tools:docs' |
| 277 URL = ( | 277 URL = ( |
| 278 'https://docs.google.com/document/d/1GvzDP-tTLmJ0myRhUAfTYWs3ZUFilUICg8psN
HyccwQ/edit?usp=sharing') | 278 'https://docs.google.com/document/d/1GvzDP-tTLmJ0myRhUAfTYWs3ZUFilUICg8psN
HyccwQ/edit?usp=sharing') |
| 279 | 279 |
| 280 | 280 |
| 281 @decorators.Disabled('android') # crbug.com.com/664505 |
| 281 class _LoadGmailBaseStory(_LoadingStory): | 282 class _LoadGmailBaseStory(_LoadingStory): |
| 282 NAME = 'load:tools:gmail' | 283 NAME = 'load:tools:gmail' |
| 283 URL = 'https://mail.google.com/mail/' | 284 URL = 'https://mail.google.com/mail/' |
| 284 ABSTRACT_STORY = True | 285 ABSTRACT_STORY = True |
| 285 | 286 |
| 286 def _Login(self, action_runner): | 287 def _Login(self, action_runner): |
| 287 google_login.LoginGoogleAccount(action_runner, 'googletest', | 288 google_login.LoginGoogleAccount(action_runner, 'googletest', |
| 288 self.credentials_path) | 289 self.credentials_path) |
| 289 | 290 |
| 290 # Navigating to https://mail.google.com immediately leads to an infinite | 291 # Navigating to https://mail.google.com immediately leads to an infinite |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 NAME = 'load:games:miniclip' | 389 NAME = 'load:games:miniclip' |
| 389 # Using "https://" causes "404 Not Found" during WPR recording. | 390 # Using "https://" causes "404 Not Found" during WPR recording. |
| 390 URL = 'http://www.miniclip.com/games/en/' | 391 URL = 'http://www.miniclip.com/games/en/' |
| 391 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. | 392 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. |
| 392 | 393 |
| 393 | 394 |
| 394 class LoadAlphabettyStory(_LoadingStory): | 395 class LoadAlphabettyStory(_LoadingStory): |
| 395 NAME = 'load:games:alphabetty' | 396 NAME = 'load:games:alphabetty' |
| 396 URL = 'https://king.com/play/alphabetty' | 397 URL = 'https://king.com/play/alphabetty' |
| 397 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. | 398 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. |
| OLD | NEW |