Disable flaky AnimatedContentSamplerParameterizedTest.FrameTimestampsConvergeTowardsE...
[chromium-blink-merge.git] / tools / perf / page_sets / typical_25.py
blobda527e2821b42feb306caf36b40a92b1622f7def
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
3 # found in the LICENSE file.
4 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module
8 class Typical25Page(page_module.Page):
10 def __init__(self, url, page_set, run_no_page_interactions):
11 super(Typical25Page, self).__init__(url=url, page_set=page_set)
12 self.user_agent_type = 'desktop'
13 self.archive_data_file = 'data/typical_25.json'
14 self._run_no_page_interactions = run_no_page_interactions
16 def RunPageInteractions(self, action_runner):
17 if self._run_no_page_interactions:
18 return
19 with action_runner.CreateGestureInteraction('ScrollAction'):
20 action_runner.ScrollPage()
23 class Typical25PageSet(page_set_module.PageSet):
25 """ Pages designed to represent the median, not highly optimized web """
27 def __init__(self, run_no_page_interactions=False):
28 super(Typical25PageSet, self).__init__(
29 user_agent_type='desktop',
30 archive_data_file='data/typical_25.json',
31 bucket=page_set_module.PARTNER_BUCKET)
33 urls_list = [
34 # Why: Alexa games #48
35 'http://www.nick.com/games',
36 # Why: Alexa sports #45
37 'http://www.rei.com/',
38 # Why: Alexa sports #50
39 'http://www.fifa.com/',
40 # Why: Alexa shopping #41
41 'http://www.gamestop.com/ps3',
42 # Why: Alexa shopping #25
43 'http://www.barnesandnoble.com/u/books-bestselling-books/379003057/',
44 # Why: Alexa news #55
45 ('http://www.economist.com/news/science-and-technology/21573529-small-'
46 'models-cosmic-phenomena-are-shedding-light-real-thing-how-build'),
47 # Why: Alexa news #67
48 'http://www.theonion.com',
49 'http://arstechnica.com/',
50 # Why: Alexa home #10
51 'http://allrecipes.com/Recipe/Pull-Apart-Hot-Cross-Buns/Detail.aspx',
52 'http://www.html5rocks.com/en/',
53 'http://www.mlb.com/',
54 # pylint: disable=C0301
55 'http://gawker.com/5939683/based-on-a-true-story-is-a-rotten-lie-i-hope-you-never-believe',
56 'http://www.imdb.com/title/tt0910970/',
57 'http://www.flickr.com/search/?q=monkeys&f=hp',
58 'http://money.cnn.com/',
59 'http://www.nationalgeographic.com/',
60 'http://premierleague.com',
61 'http://www.osubeavers.com/',
62 'http://walgreens.com',
63 'http://colorado.edu',
64 ('http://www.ticketmaster.com/JAY-Z-and-Justin-Timberlake-tickets/artist/'
65 '1837448?brand=none&tm_link=tm_homeA_rc_name2'),
66 # pylint: disable=C0301
67 'http://www.theverge.com/2013/3/5/4061684/inside-ted-the-smartest-bubble-in-the-world',
68 'http://www.airbnb.com/',
69 'http://www.ign.com/',
70 # Why: Alexa health #25
71 'http://www.fda.gov',
74 for url in urls_list:
75 self.AddUserStory(
76 Typical25Page(url, self, run_no_page_interactions))