Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(835)

Side by Side Diff: tools/perf/page_sets/system_health/browsing_stories.py

Issue 2886463002: [tools/perf] Disable browse:social:twitter on mac (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 pinterest_login 10 from page_sets.login_helpers import pinterest_login
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 class RedditMobileStory(_ArticleBrowsingStory): 193 class RedditMobileStory(_ArticleBrowsingStory):
194 """The top website in http://www.alexa.com/topsites/category/News""" 194 """The top website in http://www.alexa.com/topsites/category/News"""
195 NAME = 'browse:news:reddit' 195 NAME = 'browse:news:reddit'
196 URL = 'https://www.reddit.com/r/news/top/?sort=top&t=week' 196 URL = 'https://www.reddit.com/r/news/top/?sort=top&t=week'
197 IS_SINGLE_PAGE_APP = True 197 IS_SINGLE_PAGE_APP = True
198 ITEM_SELECTOR = '.PostHeader__post-title-line' 198 ITEM_SELECTOR = '.PostHeader__post-title-line'
199 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY 199 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
200 200
201 201
202 @decorators.Disabled('mac') # crbug.com/722094
202 class TwitterMobileStory(_ArticleBrowsingStory): 203 class TwitterMobileStory(_ArticleBrowsingStory):
203 NAME = 'browse:social:twitter' 204 NAME = 'browse:social:twitter'
204 URL = 'https://www.twitter.com/nasa' 205 URL = 'https://www.twitter.com/nasa'
205 ITEM_SELECTOR = '.Tweet-text' 206 ITEM_SELECTOR = '.Tweet-text'
206 CONTAINER_SELECTOR = '.NavigationSheet' 207 CONTAINER_SELECTOR = '.NavigationSheet'
207 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY 208 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
208 209
209 210
210 @decorators.Disabled('win') # crbug.com/662971 211 @decorators.Disabled('win') # crbug.com/662971
211 class TwitterDesktopStory(_ArticleBrowsingStory): 212 class TwitterDesktopStory(_ArticleBrowsingStory):
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 # Reduce the speed (the current wpr is recorded with speed set to 50) when 764 # Reduce the speed (the current wpr is recorded with speed set to 50) when
764 # recording the wpr. If we scroll too fast, the data will not be recorded 765 # recording the wpr. If we scroll too fast, the data will not be recorded
765 # well. After recording reset it back to the original value to have a more 766 # well. After recording reset it back to the original value to have a more
766 # realistic scroll. 767 # realistic scroll.
767 action_runner.RepeatableBrowserDrivenScroll( 768 action_runner.RepeatableBrowserDrivenScroll(
768 x_scroll_distance_ratio = 0.0, y_scroll_distance_ratio = 1, 769 x_scroll_distance_ratio = 0.0, y_scroll_distance_ratio = 1,
769 repeat_count=3, speed=400, timeout=120) 770 repeat_count=3, speed=400, timeout=120)
770 action_runner.RepeatableBrowserDrivenScroll( 771 action_runner.RepeatableBrowserDrivenScroll(
771 x_scroll_distance_ratio = 1, y_scroll_distance_ratio = 0, 772 x_scroll_distance_ratio = 1, y_scroll_distance_ratio = 0,
772 repeat_count=3, speed=500, timeout=120) 773 repeat_count=3, speed=500, timeout=120)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698