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

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

Issue 2830543004: [tools/perf] Disable browse:news:globo on android (Closed)
Patch Set: Created 3 years, 8 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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 class BrowseTOIMobileStory(_ArticleBrowsingStory): 563 class BrowseTOIMobileStory(_ArticleBrowsingStory):
564 NAME = 'browse:news:toi' 564 NAME = 'browse:news:toi'
565 URL = 'http://m.timesofindia.com' 565 URL = 'http://m.timesofindia.com'
566 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY 566 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
567 TAGS = [story_tags.EMERGING_MARKET] 567 TAGS = [story_tags.EMERGING_MARKET]
568 568
569 ITEMS_TO_VISIT = 4 569 ITEMS_TO_VISIT = 4
570 ITEM_SELECTOR = '.dummy-img' 570 ITEM_SELECTOR = '.dummy-img'
571 571
572 572
573 @decorators.Disabled('android') # crbug.com/713036.
573 class BrowseGloboMobileStory(_ArticleBrowsingStory): 574 class BrowseGloboMobileStory(_ArticleBrowsingStory):
574 NAME = 'browse:news:globo' 575 NAME = 'browse:news:globo'
575 URL = 'http://www.globo.com' 576 URL = 'http://www.globo.com'
576 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY 577 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
577 TAGS = [story_tags.EMERGING_MARKET] 578 TAGS = [story_tags.EMERGING_MARKET]
578 579
579 ITEMS_TO_VISIT = 4 580 ITEMS_TO_VISIT = 4
580 ITEM_SELECTOR = '.hui-premium__title' 581 ITEM_SELECTOR = '.hui-premium__title'
581 582
582 583
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 action_runner.Wait(0.5) 638 action_runner.Wait(0.5)
638 action_runner.EnterText('Google Mountain View') 639 action_runner.EnterText('Google Mountain View')
639 action_runner.PressKey('Return') 640 action_runner.PressKey('Return')
640 action_runner.WaitForElement(selector=self._DIRECTIONS_LOADED) 641 action_runner.WaitForElement(selector=self._DIRECTIONS_LOADED)
641 action_runner.WaitForNetworkQuiescence() 642 action_runner.WaitForNetworkQuiescence()
642 action_runner.Wait(2) # Seeing direction 643 action_runner.Wait(2) # Seeing direction
643 644
644 def _ClickLink(self, selector, action_runner): 645 def _ClickLink(self, selector, action_runner):
645 action_runner.WaitForElement(selector=selector) 646 action_runner.WaitForElement(selector=selector)
646 action_runner.ClickElement(selector=selector) 647 action_runner.ClickElement(selector=selector)
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