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 | 20 |
21 | 21 |
22 class LoadGoogleStory(_LoadingStory): | 22 class LoadGoogleStory(_LoadingStory): |
23 NAME = 'load:search:google' | 23 NAME = 'load:search:google' |
24 URL = 'https://www.google.com/#hl=en&q=science' | 24 URL = 'https://www.google.co.uk/' |
nednguyen
2016/07/20 16:02:02
Is this rebase error?
petrcermak
2016/07/20 19:08:21
No, it's intentional. The load story should use th
| |
25 | 25 |
26 | 26 |
27 class LoadBaiduStory(_LoadingStory): | 27 class LoadBaiduStory(_LoadingStory): |
28 NAME = 'load:search:baidu' | 28 NAME = 'load:search:baidu' |
29 URL = 'https://www.baidu.com/s?word=google' | 29 URL = 'https://www.baidu.com/s?word=google' |
30 | 30 |
31 | 31 |
32 class LoadYahooStory(_LoadingStory): | 32 class LoadYahooStory(_LoadingStory): |
33 NAME = 'load:search:yahoo' | 33 NAME = 'load:search:yahoo' |
34 URL = 'https://search.yahoo.com/search;_ylt=?p=google' | 34 URL = 'https://search.yahoo.com/search;_ylt=?p=google' |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
357 URL = 'http://www.miniclip.com/games/en/' | 357 URL = 'http://www.miniclip.com/games/en/' |
358 # Desktop only (requires Flash). | 358 # Desktop only (requires Flash). |
359 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 359 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
360 | 360 |
361 | 361 |
362 class LoadAlphabettyStory(_LoadingStory): | 362 class LoadAlphabettyStory(_LoadingStory): |
363 NAME = 'load:games:alphabetty' | 363 NAME = 'load:games:alphabetty' |
364 URL = 'https://king.com/play/alphabetty' | 364 URL = 'https://king.com/play/alphabetty' |
365 # Desktop only (requires Flash). | 365 # Desktop only (requires Flash). |
366 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 366 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
OLD | NEW |