| OLD | NEW |
| 1 # encoding: utf-8 | 1 # encoding: utf-8 |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 from page_sets.system_health import platforms | 6 from page_sets.system_health import platforms |
| 7 from page_sets.system_health import story_tags | 7 from page_sets.system_health import story_tags |
| 8 from page_sets.system_health import system_health_story | 8 from page_sets.system_health import system_health_story |
| 9 | 9 |
| 10 from page_sets.login_helpers import facebook_login | 10 from page_sets.login_helpers import facebook_login |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 841 action_runner.Wait(self.TIME_BEFORE_SCROLL_RETRY_IN_SECONDS) | 841 action_runner.Wait(self.TIME_BEFORE_SCROLL_RETRY_IN_SECONDS) |
| 842 else: | 842 else: |
| 843 retry_count = 0 | 843 retry_count = 0 |
| 844 remaining = new_remaining | 844 remaining = new_remaining |
| 845 | 845 |
| 846 @classmethod | 846 @classmethod |
| 847 def GenerateStoryDescription(cls): | 847 def GenerateStoryDescription(cls): |
| 848 return 'Load %s then make a very long scroll.' % cls.URL | 848 return 'Load %s then make a very long scroll.' % cls.URL |
| 849 | 849 |
| 850 | 850 |
| 851 @decorators.Disabled('win') # crbug.com/728152 | 851 @decorators.Disabled('win', 'linux') # crbug.com/728152 |
| 852 class DiscourseDesktopStory(_InfiniteScrollStory): | 852 class DiscourseDesktopStory(_InfiniteScrollStory): |
| 853 NAME = 'browse:tech:discourse_infinite_scroll' | 853 NAME = 'browse:tech:discourse_infinite_scroll' |
| 854 URL = ('https://meta.discourse.org/t/the-official-discourse-tags-plugin-discou
rse-tagging/26482') | 854 URL = ('https://meta.discourse.org/t/the-official-discourse-tags-plugin-discou
rse-tagging/26482') |
| 855 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 855 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
| 856 TAGS = [story_tags.INFINITE_SCROLL] | 856 TAGS = [story_tags.INFINITE_SCROLL] |
| 857 | 857 |
| 858 | 858 |
| 859 class DiscourseMobileStory(_InfiniteScrollStory): | 859 class DiscourseMobileStory(_InfiniteScrollStory): |
| 860 NAME = 'browse:tech:discourse_infinite_scroll' | 860 NAME = 'browse:tech:discourse_infinite_scroll' |
| 861 URL = ('https://meta.discourse.org/t/the-official-discourse-tags-plugin-discou
rse-tagging/26482') | 861 URL = ('https://meta.discourse.org/t/the-official-discourse-tags-plugin-discou
rse-tagging/26482') |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 NAME = 'browse:social:tumblr_infinite_scroll' | 909 NAME = 'browse:social:tumblr_infinite_scroll' |
| 910 URL = 'http://techcrunch.tumblr.com/' # This page doesn't support HTTPS. | 910 URL = 'http://techcrunch.tumblr.com/' # This page doesn't support HTTPS. |
| 911 TAGS = [story_tags.INFINITE_SCROLL] | 911 TAGS = [story_tags.INFINITE_SCROLL] |
| 912 | 912 |
| 913 | 913 |
| 914 class TwitterScrollDesktopStory(_InfiniteScrollStory): | 914 class TwitterScrollDesktopStory(_InfiniteScrollStory): |
| 915 NAME = 'browse:social:twitter_infinite_scroll' | 915 NAME = 'browse:social:twitter_infinite_scroll' |
| 916 URL = 'https://twitter.com/taylorswift13' | 916 URL = 'https://twitter.com/taylorswift13' |
| 917 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 917 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
| 918 TAGS = [story_tags.INFINITE_SCROLL] | 918 TAGS = [story_tags.INFINITE_SCROLL] |
| OLD | NEW |