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 sys | |
6 | |
7 from page_sets.system_health import platforms | 5 from page_sets.system_health import platforms |
8 from page_sets.system_health import system_health_story | 6 from page_sets.system_health import system_health_story |
9 | 7 |
10 from page_sets.login_helpers import dropbox_login | 8 from page_sets.login_helpers import dropbox_login |
11 from page_sets.login_helpers import google_login | 9 from page_sets.login_helpers import google_login |
12 | 10 |
13 | 11 |
14 class _LoadingStory(system_health_story.SystemHealthStory): | 12 class _LoadingStory(system_health_story.SystemHealthStory): |
15 """Abstract base class for single-page System Health user stories.""" | 13 """Abstract base class for single-page System Health user stories.""" |
16 pass | 14 ABSTRACT_STORY = True |
17 | |
18 | |
19 def IterAllStoryClasses(): | |
20 return system_health_story.IterAllStoryClasses( | |
21 sys.modules[__name__], _LoadingStory) | |
22 | 15 |
23 | 16 |
24 ################################################################################ | 17 ################################################################################ |
25 # Search and e-commerce. | 18 # Search and e-commerce. |
26 ################################################################################ | 19 ################################################################################ |
27 | 20 |
28 | 21 |
29 class LoadGoogleStory(_LoadingStory): | 22 class LoadGoogleStory(_LoadingStory): |
30 NAME = 'load:search:google' | 23 NAME = 'load:search:google' |
31 URL = 'https://www.google.com/#hl=en&q=science' | 24 URL = 'https://www.google.com/#hl=en&q=science' |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 URL = 'http://www.miniclip.com/games/en/' | 357 URL = 'http://www.miniclip.com/games/en/' |
365 # Desktop only (requires Flash). | 358 # Desktop only (requires Flash). |
366 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 359 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
367 | 360 |
368 | 361 |
369 class LoadAlphabettyStory(_LoadingStory): | 362 class LoadAlphabettyStory(_LoadingStory): |
370 NAME = 'load:games:alphabetty' | 363 NAME = 'load:games:alphabetty' |
371 URL = 'https://king.com/play/alphabetty' | 364 URL = 'https://king.com/play/alphabetty' |
372 # Desktop only (requires Flash). | 365 # Desktop only (requires Flash). |
373 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 366 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
OLD | NEW |