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 2570883002: Disable browse:search:google on windows (Closed)
Patch Set: Created 4 years 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 if has_button: 230 if has_button:
231 action_runner.ClickElement(selector=self._CLOSE_BUTTON_SELECTOR) 231 action_runner.ClickElement(selector=self._CLOSE_BUTTON_SELECTOR)
232 super(WashingtonPostMobileStory, self)._DidLoadDocument(action_runner) 232 super(WashingtonPostMobileStory, self)._DidLoadDocument(action_runner)
233 233
234 234
235 ############################################################################## 235 ##############################################################################
236 # Search browsing stories. 236 # Search browsing stories.
237 ############################################################################## 237 ##############################################################################
238 238
239 239
240 @decorators.Disabled('win') # crbug.com/673775
240 class GoogleDesktopStory(_NewsBrowsingStory): 241 class GoogleDesktopStory(_NewsBrowsingStory):
241 """ 242 """
242 A typical google search story: 243 A typical google search story:
243 _ Start at https://www.google.com/search?q=flower 244 _ Start at https://www.google.com/search?q=flower
244 _ Click on the wikipedia link & navigate to 245 _ Click on the wikipedia link & navigate to
245 https://en.wikipedia.org/wiki/Flower 246 https://en.wikipedia.org/wiki/Flower
246 _ Scroll down the wikipedia page about flower. 247 _ Scroll down the wikipedia page about flower.
247 _ Back to the search main page. 248 _ Back to the search main page.
248 _ Refine the search query to 'flower delivery'. 249 _ Refine the search query to 'flower delivery'.
249 _ Scroll down the page. 250 _ Scroll down the page.
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 inner_save_function = 'document.querySelector(".nameAndIcons")' 427 inner_save_function = 'document.querySelector(".nameAndIcons")'
427 action_runner.WaitForElement(element_function=inner_save_function) 428 action_runner.WaitForElement(element_function=inner_save_function)
428 action_runner.ClickElement(element_function=inner_save_function) 429 action_runner.ClickElement(element_function=inner_save_function)
429 action_runner.Wait(1) # Wait to make navigation realistic. 430 action_runner.Wait(1) # Wait to make navigation realistic.
430 431
431 # Close selection. 432 # Close selection.
432 x_element_function = ('document.querySelector(' 433 x_element_function = ('document.querySelector('
433 '".Button.borderless.close.visible")') 434 '".Button.borderless.close.visible")')
434 action_runner.ClickElement(element_function=x_element_function) 435 action_runner.ClickElement(element_function=x_element_function)
435 action_runner.Wait(1) # Wait to make navigation realistic. 436 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