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

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

Issue 2499073002: Disable browse:news:flipboard on Mac perf bots (Closed)
Patch Set: Created 4 years, 1 month 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 # 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 pinterest_login 8 from page_sets.login_helpers import pinterest_login
9 9
10 from telemetry import decorators 10 from telemetry import decorators
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 class FlipboardMobileStory(_NewsBrowsingStory): 120 class FlipboardMobileStory(_NewsBrowsingStory):
121 NAME = 'browse:news:flipboard' 121 NAME = 'browse:news:flipboard'
122 URL = 'https://flipboard.com/explore' 122 URL = 'https://flipboard.com/explore'
123 IS_SINGLE_PAGE_APP = True 123 IS_SINGLE_PAGE_APP = True
124 ITEM_SELECTOR = '.grad-top' 124 ITEM_SELECTOR = '.grad-top'
125 ITEM_SCROLL_REPEAT = 4 125 ITEM_SCROLL_REPEAT = 4
126 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY 126 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
127 127
128 128
129 @decorators.Disabled('mac') # crbug.com/663025
129 class FlipboardDesktopStory(_NewsBrowsingStory): 130 class FlipboardDesktopStory(_NewsBrowsingStory):
130 NAME = 'browse:news:flipboard' 131 NAME = 'browse:news:flipboard'
131 URL = 'https://flipboard.com/explore' 132 URL = 'https://flipboard.com/explore'
132 IS_SINGLE_PAGE_APP = True 133 IS_SINGLE_PAGE_APP = True
133 ITEM_SELECTOR = '.cover-image' 134 ITEM_SELECTOR = '.cover-image'
134 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY 135 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
135 136
136 137
137 class HackerNewsStory(_NewsBrowsingStory): 138 class HackerNewsStory(_NewsBrowsingStory):
138 NAME = 'browse:news:hackernews' 139 NAME = 'browse:news:hackernews'
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 inner_save_function = 'document.querySelector(".nameAndIcons")' 362 inner_save_function = 'document.querySelector(".nameAndIcons")'
362 action_runner.WaitForElement(element_function=inner_save_function) 363 action_runner.WaitForElement(element_function=inner_save_function)
363 action_runner.ClickElement(element_function=inner_save_function) 364 action_runner.ClickElement(element_function=inner_save_function)
364 action_runner.Wait(1) # Wait to make navigation realistic. 365 action_runner.Wait(1) # Wait to make navigation realistic.
365 366
366 # Close selection. 367 # Close selection.
367 x_element_function = ('document.querySelector(' 368 x_element_function = ('document.querySelector('
368 '".Button.borderless.close.visible")') 369 '".Button.borderless.close.visible")')
369 action_runner.ClickElement(element_function=x_element_function) 370 action_runner.ClickElement(element_function=x_element_function)
370 action_runner.Wait(1) # Wait to make navigation realistic. 371 action_runner.Wait(1) # Wait to make navigation realistic.
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