| 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 |
| 11 | 11 |
| 12 class _LoadingStory(system_health_story.SystemHealthStory): | 12 class _LoadingStory(system_health_story.SystemHealthStory): |
| 13 """Abstract base class for single-page System Health user stories.""" | 13 """Abstract base class for single-page System Health user stories.""" |
| 14 ABSTRACT_STORY = True | 14 ABSTRACT_STORY = True |
| 15 | 15 |
| 16 | 16 |
| 17 ################################################################################ | 17 ################################################################################ |
| 18 # Search and e-commerce. | 18 # Search and e-commerce. |
| 19 ################################################################################ | 19 ################################################################################ |
| 20 # TODO(petrcermak): Split these into 'portal' and 'shopping' stories. | |
| 21 | 20 |
| 22 | 21 |
| 23 class LoadGoogleStory(_LoadingStory): | 22 class LoadGoogleStory(_LoadingStory): |
| 24 NAME = 'load:search:google' | 23 NAME = 'load:search:google' |
| 25 URL = 'https://www.google.co.uk/' | 24 URL = 'https://www.google.com/#hl=en&q=science' |
| 26 | 25 |
| 27 | 26 |
| 28 class LoadBaiduStory(_LoadingStory): | 27 class LoadBaiduStory(_LoadingStory): |
| 29 NAME = 'load:search:baidu' | 28 NAME = 'load:search:baidu' |
| 30 URL = 'https://www.baidu.com/s?word=google' | 29 URL = 'https://www.baidu.com/s?word=google' |
| 31 | 30 |
| 32 | 31 |
| 33 class LoadYahooStory(_LoadingStory): | 32 class LoadYahooStory(_LoadingStory): |
| 34 NAME = 'load:search:yahoo' | 33 NAME = 'load:search:yahoo' |
| 35 URL = 'https://search.yahoo.com/search;_ylt=?p=google' | 34 URL = 'https://search.yahoo.com/search;_ylt=?p=google' |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 URL = 'http://www.miniclip.com/games/en/' | 369 URL = 'http://www.miniclip.com/games/en/' |
| 371 # Desktop only (requires Flash). | 370 # Desktop only (requires Flash). |
| 372 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 371 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
| 373 | 372 |
| 374 | 373 |
| 375 class LoadAlphabettyStory(_LoadingStory): | 374 class LoadAlphabettyStory(_LoadingStory): |
| 376 NAME = 'load:games:alphabetty' | 375 NAME = 'load:games:alphabetty' |
| 377 URL = 'https://king.com/play/alphabetty' | 376 URL = 'https://king.com/play/alphabetty' |
| 378 # Desktop only (requires Flash). | 377 # Desktop only (requires Flash). |
| 379 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 378 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
| OLD | NEW |