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. |
20 | 21 |
21 | 22 |
22 class LoadGoogleStory(_LoadingStory): | 23 class LoadGoogleStory(_LoadingStory): |
23 NAME = 'load:search:google' | 24 NAME = 'load:search:google' |
24 URL = 'https://www.google.com/#hl=en&q=science' | 25 URL = 'https://www.google.co.uk/' |
25 | 26 |
26 | 27 |
27 class LoadBaiduStory(_LoadingStory): | 28 class LoadBaiduStory(_LoadingStory): |
28 NAME = 'load:search:baidu' | 29 NAME = 'load:search:baidu' |
29 URL = 'https://www.baidu.com/s?word=google' | 30 URL = 'https://www.baidu.com/s?word=google' |
30 | 31 |
31 | 32 |
32 class LoadYahooStory(_LoadingStory): | 33 class LoadYahooStory(_LoadingStory): |
33 NAME = 'load:search:yahoo' | 34 NAME = 'load:search:yahoo' |
34 URL = 'https://search.yahoo.com/search;_ylt=?p=google' | 35 URL = 'https://search.yahoo.com/search;_ylt=?p=google' |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 URL = 'http://www.miniclip.com/games/en/' | 370 URL = 'http://www.miniclip.com/games/en/' |
370 # Desktop only (requires Flash). | 371 # Desktop only (requires Flash). |
371 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 372 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
372 | 373 |
373 | 374 |
374 class LoadAlphabettyStory(_LoadingStory): | 375 class LoadAlphabettyStory(_LoadingStory): |
375 NAME = 'load:games:alphabetty' | 376 NAME = 'load:games:alphabetty' |
376 URL = 'https://king.com/play/alphabetty' | 377 URL = 'https://king.com/play/alphabetty' |
377 # Desktop only (requires Flash). | 378 # Desktop only (requires Flash). |
378 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 379 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
OLD | NEW |