| 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 story_tags | 6 from page_sets.system_health import story_tags |
| 7 from page_sets.system_health import system_health_story | 7 from page_sets.system_health import system_health_story |
| 8 | 8 |
| 9 from page_sets.login_helpers import dropbox_login | 9 from page_sets.login_helpers import dropbox_login |
| 10 from page_sets.login_helpers import google_login | 10 from page_sets.login_helpers import google_login |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 def _Login(self, action_runner): | 349 def _Login(self, action_runner): |
| 350 dropbox_login.LoginAccount(action_runner, 'dropbox', self.credentials_path) | 350 dropbox_login.LoginAccount(action_runner, 'dropbox', self.credentials_path) |
| 351 | 351 |
| 352 | 352 |
| 353 class LoadWeatherStory(_LoadingStory): | 353 class LoadWeatherStory(_LoadingStory): |
| 354 NAME = 'load:tools:weather' | 354 NAME = 'load:tools:weather' |
| 355 URL = 'https://weather.com/en-GB/weather/today/l/USCA0286:1:US' | 355 URL = 'https://weather.com/en-GB/weather/today/l/USCA0286:1:US' |
| 356 TAGS = [story_tags.JAVASCRIPT_HEAVY] | 356 TAGS = [story_tags.JAVASCRIPT_HEAVY] |
| 357 | 357 |
| 358 | 358 |
| 359 @decorators.Disabled('all') # crbug.com/715936 |
| 359 class LoadDriveStory(_LoadingStory): | 360 class LoadDriveStory(_LoadingStory): |
| 360 NAME = 'load:tools:drive' | 361 NAME = 'load:tools:drive' |
| 361 URL = 'https://drive.google.com/drive/my-drive' | 362 URL = 'https://drive.google.com/drive/my-drive' |
| 362 TAGS = [story_tags.JAVASCRIPT_HEAVY] | 363 TAGS = [story_tags.JAVASCRIPT_HEAVY] |
| 363 | 364 |
| 364 def _Login(self, action_runner): | 365 def _Login(self, action_runner): |
| 365 google_login.LoginGoogleAccount(action_runner, 'googletest', | 366 google_login.LoginGoogleAccount(action_runner, 'googletest', |
| 366 self.credentials_path) | 367 self.credentials_path) |
| 367 | 368 |
| 368 | 369 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 NAME = 'load:games:miniclip' | 406 NAME = 'load:games:miniclip' |
| 406 # Using "https://" causes "404 Not Found" during WPR recording. | 407 # Using "https://" causes "404 Not Found" during WPR recording. |
| 407 URL = 'http://www.miniclip.com/games/en/' | 408 URL = 'http://www.miniclip.com/games/en/' |
| 408 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. | 409 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. |
| 409 | 410 |
| 410 | 411 |
| 411 class LoadAlphabettyStory(_LoadingStory): | 412 class LoadAlphabettyStory(_LoadingStory): |
| 412 NAME = 'load:games:alphabetty' | 413 NAME = 'load:games:alphabetty' |
| 413 URL = 'https://king.com/play/alphabetty' | 414 URL = 'https://king.com/play/alphabetty' |
| 414 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. | 415 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. |
| OLD | NEW |