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

Side by Side Diff: tools/perf/page_sets/key_mobile_sites.py

Issue 616513003: Disable groupcloned.com_test_list-images page from key_mobile_sites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 7
8 class KeyMobileSitesPage(page_module.Page): 8 class KeyMobileSitesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set, name=''): 10 def __init__(self, url, page_set, name=''):
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 357
358 class Page22(KeyMobileSitesPage): 358 class Page22(KeyMobileSitesPage):
359 359
360 """ Why: crbug.com/172906 """ 360 """ Why: crbug.com/172906 """
361 361
362 def __init__(self, page_set): 362 def __init__(self, page_set):
363 super(Page22, self).__init__( 363 super(Page22, self).__init__(
364 url='http://groupcloned.com/test/list-images-variable/index.html', 364 url='http://groupcloned.com/test/list-images-variable/index.html',
365 page_set=page_set) 365 page_set=page_set)
366 366
367 self.disabled = ('mean_input_event_latency cannot be tracked correctly.'
368 'crbug.com/409086')
nednguyen 2014/09/29 22:41:21 I don't like this disabled feature. Can you just c
Yufeng Shen (Slow to review) 2014/09/29 22:46:50 Done.
369
367 def RunNavigateSteps(self, action_runner): 370 def RunNavigateSteps(self, action_runner):
368 action_runner.NavigateToPage(self) 371 action_runner.NavigateToPage(self)
369 action_runner.WaitForJavaScriptCondition( 372 action_runner.WaitForJavaScriptCondition(
370 'document.getElementById("element-5") !== null') 373 'document.getElementById("element-5") !== null')
371 374
372 def RunSmoothness(self, action_runner): 375 def RunSmoothness(self, action_runner):
373 interaction = action_runner.BeginGestureInteraction( 376 interaction = action_runner.BeginGestureInteraction(
374 'ScrollAction', is_smooth=True) 377 'ScrollAction', is_smooth=True)
375 action_runner.ScrollPage( 378 action_runner.ScrollPage(
376 distance_expr=''' 379 distance_expr='''
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&' 541 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&'
539 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'), 542 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'),
540 # Why: Top search engine 543 # Why: Top search engine
541 'http://www.bing.com/search?q=sloths', 544 'http://www.bing.com/search?q=sloths',
542 # Why: Good example of poor initial scrolling 545 # Why: Good example of poor initial scrolling
543 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans' 546 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans'
544 ] 547 ]
545 548
546 for url in urls_list: 549 for url in urls_list:
547 self.AddPage(KeyMobileSitesPage(url, self)) 550 self.AddPage(KeyMobileSitesPage(url, self))
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