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

Unified Diff: tools/perf/page_sets/polymer.py

Issue 1111543002: CL for perf tryjob on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/key_silk_cases.py ('k') | tools/run-perf-test.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/polymer.py
diff --git a/tools/perf/page_sets/polymer.py b/tools/perf/page_sets/polymer.py
index bbab4d40d82760eceefdbbbd44946bae442672fa..e75fc09c1c431567f3a0fe602402fcf26082c212 100644
--- a/tools/perf/page_sets/polymer.py
+++ b/tools/perf/page_sets/polymer.py
@@ -53,7 +53,7 @@ class PolymerCalculatorPage(PolymerPage):
self.SlidePanel(action_runner)
def TapButton(self, action_runner):
- with action_runner.CreateInteraction('Action_TapAction'):
+ with action_runner.CreateInteraction('PolymerAnimation', repeatable=True):
action_runner.TapElement(element_function='''
document.querySelector(
'body /deep/ #outerPanels'
@@ -72,7 +72,7 @@ class PolymerCalculatorPage(PolymerPage):
return outer.opened || outer.wideMode;
}());''')
if not opened:
- with action_runner.CreateInteraction('Action_SwipeAction'):
+ with action_runner.CreateInteraction('PolymerAnimation', repeatable=True):
action_runner.SwipeElement(
left_start_ratio=0.1, top_start_ratio=0.2,
direction='left', distance=300, speed_in_pixels_per_second=5000,
@@ -155,12 +155,12 @@ class PolymerSampler(PolymerPage):
def ScrollContentPane(self, action_runner):
element_function = (self.iframe_js + '.querySelector('
'"core-scroll-header-panel").$.mainContainer')
- with action_runner.CreateInteraction('Scroll_Page'):
+ with action_runner.CreateInteraction('Scroll_Page', repeatable=True):
action_runner.ScrollElement(use_touch=True,
direction='down',
distance='900',
element_function=element_function)
- with action_runner.CreateInteraction('Scroll_Page'):
+ with action_runner.CreateInteraction('Scroll_Page', repeatable=True):
action_runner.ScrollElement(use_touch=True,
direction='up',
distance='900',
@@ -201,7 +201,7 @@ class PolymerSampler(PolymerPage):
action_function(action_runner, element_query)
def TapWidget(self, action_runner, element_function):
- with action_runner.CreateInteraction('Tap_Widget'):
+ with action_runner.CreateInteraction('Tap_Widget', repeatable=True):
action_runner.TapElement(element_function=element_function)
action_runner.Wait(1) # wait for e.g. animations on the widget
« no previous file with comments | « tools/perf/page_sets/key_silk_cases.py ('k') | tools/run-perf-test.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698