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 | |
360 class LoadDriveStory(_LoadingStory): | 359 class LoadDriveStory(_LoadingStory): |
361 NAME = 'load:tools:drive' | 360 NAME = 'load:tools:drive' |
362 URL = 'https://drive.google.com/drive/my-drive' | 361 URL = 'https://drive.google.com/drive/my-drive' |
363 TAGS = [story_tags.JAVASCRIPT_HEAVY] | 362 TAGS = [story_tags.JAVASCRIPT_HEAVY] |
364 | 363 |
365 def _Login(self, action_runner): | 364 def _Login(self, action_runner): |
366 google_login.LoginGoogleAccount(action_runner, 'googletest', | 365 google_login.LoginGoogleAccount(action_runner, 'googletest', |
367 self.credentials_path) | 366 self.credentials_path) |
368 | 367 |
369 | 368 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 NAME = 'load:games:miniclip' | 405 NAME = 'load:games:miniclip' |
407 # Using "https://" causes "404 Not Found" during WPR recording. | 406 # Using "https://" causes "404 Not Found" during WPR recording. |
408 URL = 'http://www.miniclip.com/games/en/' | 407 URL = 'http://www.miniclip.com/games/en/' |
409 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. | 408 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. |
410 | 409 |
411 | 410 |
412 class LoadAlphabettyStory(_LoadingStory): | 411 class LoadAlphabettyStory(_LoadingStory): |
413 NAME = 'load:games:alphabetty' | 412 NAME = 'load:games:alphabetty' |
414 URL = 'https://king.com/play/alphabetty' | 413 URL = 'https://king.com/play/alphabetty' |
415 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. | 414 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. |
OLD | NEW |