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

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

Issue 1990473002: [perfbot sheriff] Disables discourse.org in the infinite scroll pageset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 shared_page_state 5 from telemetry.page import shared_page_state
6 from telemetry import story 6 from telemetry import story
7 7
8 TIME_TO_WAIT_BEFORE_STARTING_IN_SECONDS = 5 8 TIME_TO_WAIT_BEFORE_STARTING_IN_SECONDS = 5
9 SCROLL_TIMEOUT_IN_SECONDS = 120 9 SCROLL_TIMEOUT_IN_SECONDS = 120
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 archive_data_file='data/infinite_scroll.json', 64 archive_data_file='data/infinite_scroll.json',
65 cloud_storage_bucket=story.PARTNER_BUCKET) 65 cloud_storage_bucket=story.PARTNER_BUCKET)
66 # The scroll distance is chosen such that the page can be scrolled 66 # The scroll distance is chosen such that the page can be scrolled
67 # continuously through the test without hitting the end of the page. 67 # continuously through the test without hitting the end of the page.
68 SCROLL_FAR = 60 68 SCROLL_FAR = 60
69 SCROLL_PAGE = 1 69 SCROLL_PAGE = 1
70 pages = [ 70 pages = [
71 ('https://www.facebook.com/shakira', 'facebook', SCROLL_FAR, 0, 0), 71 ('https://www.facebook.com/shakira', 'facebook', SCROLL_FAR, 0, 0),
72 ('https://twitter.com/taylorswift13', 'twitter', SCROLL_PAGE, 10, 30), 72 ('https://twitter.com/taylorswift13', 'twitter', SCROLL_PAGE, 10, 30),
73 ('http://techcrunch.tumblr.com/', 'tumblr', SCROLL_FAR, 0, 0), 73 ('http://techcrunch.tumblr.com/', 'tumblr', SCROLL_FAR, 0, 0),
74 ('https://www.flickr.com/explore', 'flickr', SCROLL_FAR, 0, 0), 74 ('https://www.flickr.com/explore', 'flickr', SCROLL_FAR, 0, 0)
75 ('https://meta.discourse.org/t/the-official-discourse-tags-plugin-discou rse-tagging/26482', 75 # TODO(crbug.com/612153): This page needs to be rerecorded due to an
76 'discourse', SCROLL_PAGE, 10, 30) 76 # expired SSL certificate, but can't be due to problems with WPR.
77 # pylint: disable=line-too-long
78 # ('https://meta.discourse.org/t/the-official-discourse-tags-plugin-disc ourse-tagging/26482',
79 # 'discourse', SCROLL_PAGE, 10, 30)
77 ] 80 ]
78 for (url, name, scroll_amount, delay, repeat) in pages: 81 for (url, name, scroll_amount, delay, repeat) in pages:
79 self.AddStory( 82 self.AddStory(
80 InfiniteScrollPage(url, self, name, scroll_amount, delay, repeat)) 83 InfiniteScrollPage(url, self, name, scroll_amount, delay, repeat))
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