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

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

Issue 2602073002: Reenable Flipboard story on Mac (Closed)
Patch Set: Created 3 years, 11 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 | « tools/perf/benchmarks/system_health_smoke_test.py ('k') | 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 IS_SINGLE_PAGE_APP = True 125 IS_SINGLE_PAGE_APP = True
126 ITEM_SELECTOR = '.grad-top' 126 ITEM_SELECTOR = '.grad-top'
127 ITEM_SCROLL_REPEAT = 4 127 ITEM_SCROLL_REPEAT = 4
128 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY 128 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
129 129
130 @classmethod 130 @classmethod
131 def ShouldDisable(cls, possible_browser): 131 def ShouldDisable(cls, possible_browser):
132 return possible_browser.platform.IsSvelte() # crbug.com/668097 132 return possible_browser.platform.IsSvelte() # crbug.com/668097
133 133
134 134
135 @decorators.Disabled('mac') # crbug.com/663025
136 class FlipboardDesktopStory(_NewsBrowsingStory): 135 class FlipboardDesktopStory(_NewsBrowsingStory):
137 NAME = 'browse:news:flipboard' 136 NAME = 'browse:news:flipboard'
138 URL = 'https://flipboard.com/explore' 137 URL = 'https://flipboard.com/explore'
139 IS_SINGLE_PAGE_APP = True 138 IS_SINGLE_PAGE_APP = True
140 ITEM_SELECTOR = '.cover-image' 139 ITEM_SELECTOR = '.cover-image'
141 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY 140 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
142 141
143 142
144 # crbug.com/657665 for win and mac, crbug.com/665007 for linux 143 # crbug.com/657665 for win and mac, crbug.com/665007 for linux
145 @decorators.Disabled('win', 'linux', 'yosemite', 'elcapitan') 144 @decorators.Disabled('win', 'linux', 'yosemite', 'elcapitan')
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 inner_save_function = 'document.querySelector(".nameAndIcons")' 426 inner_save_function = 'document.querySelector(".nameAndIcons")'
428 action_runner.WaitForElement(element_function=inner_save_function) 427 action_runner.WaitForElement(element_function=inner_save_function)
429 action_runner.ClickElement(element_function=inner_save_function) 428 action_runner.ClickElement(element_function=inner_save_function)
430 action_runner.Wait(1) # Wait to make navigation realistic. 429 action_runner.Wait(1) # Wait to make navigation realistic.
431 430
432 # Close selection. 431 # Close selection.
433 x_element_function = ('document.querySelector(' 432 x_element_function = ('document.querySelector('
434 '".Button.borderless.close.visible")') 433 '".Button.borderless.close.visible")')
435 action_runner.ClickElement(element_function=x_element_function) 434 action_runner.ClickElement(element_function=x_element_function)
436 action_runner.Wait(1) # Wait to make navigation realistic. 435 action_runner.Wait(1) # Wait to make navigation realistic.
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/system_health_smoke_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698