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

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

Issue 952733002: key_silk_cases/list_animation_simple.html: there should always be exactly 1 layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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 | tools/perf/page_sets/key_silk_cases/list_animation_simple.html » ('j') | 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 KeySilkCasesPage(page_module.Page): 8 class KeySilkCasesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set, run_no_page_interactions): 10 def __init__(self, url, page_set, run_no_page_interactions):
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 action_runner.ScrollElement(selector='#scrollable') 56 action_runner.ScrollElement(selector='#scrollable')
57 interaction.End() 57 interaction.End()
58 58
59 59
60 class Page2(KeySilkCasesPage): 60 class Page2(KeySilkCasesPage):
61 61
62 """ Why: Brings out layer management bottlenecks. """ 62 """ Why: Brings out layer management bottlenecks. """
63 63
64 def __init__(self, page_set, run_no_page_interactions): 64 def __init__(self, page_set, run_no_page_interactions):
65 super(Page2, self).__init__( 65 super(Page2, self).__init__(
66 url='http://groupcloned.com/test/plain/list-animation-simple.html', 66 url='file://key_silk_cases/list_animation_simple.html',
67 page_set=page_set, run_no_page_interactions=run_no_page_interactions) 67 page_set=page_set, run_no_page_interactions=run_no_page_interactions)
68 68
69 def PerformPageInteractions(self, action_runner): 69 def PerformPageInteractions(self, action_runner):
70 action_runner.Wait(2) 70 action_runner.Wait(2)
71 71
72 72
73 class Page3(KeySilkCasesPage): 73 class Page3(KeySilkCasesPage):
74 74
75 """ 75 """
76 Why: Best-known method for fake sticky. Janks sometimes. Interacts badly with 76 Why: Best-known method for fake sticky. Janks sometimes. Interacts badly with
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 self.AddUserStory(Page26(self, run_no_page_interactions)) 690 self.AddUserStory(Page26(self, run_no_page_interactions))
691 self.AddUserStory(SVGIconRaster(self, run_no_page_interactions)) 691 self.AddUserStory(SVGIconRaster(self, run_no_page_interactions))
692 self.AddUserStory(UpdateHistoryState(self, run_no_page_interactions)) 692 self.AddUserStory(UpdateHistoryState(self, run_no_page_interactions))
693 self.AddUserStory(SilkFinance(self, run_no_page_interactions)) 693 self.AddUserStory(SilkFinance(self, run_no_page_interactions))
694 694
695 for page in self: 695 for page in self:
696 assert (page.__class__.RunPageInteractions == 696 assert (page.__class__.RunPageInteractions ==
697 KeySilkCasesPage.RunPageInteractions), ( 697 KeySilkCasesPage.RunPageInteractions), (
698 'Pages in this page set must not override KeySilkCasesPage\' ' 698 'Pages in this page set must not override KeySilkCasesPage\' '
699 'RunPageInteractions method.') 699 'RunPageInteractions method.')
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/key_silk_cases/list_animation_simple.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698