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

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

Issue 1060583012: 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/measurements/smoothness_controller.py ('k') | tools/perf/page_sets/polymer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/key_silk_cases.py
diff --git a/tools/perf/page_sets/key_silk_cases.py b/tools/perf/page_sets/key_silk_cases.py
index 347ed92f8a69624251871cc3fdea3cb03441f3f0..4ca830debe22bd5ca63b8c4dee84ec0338db6026 100644
--- a/tools/perf/page_sets/key_silk_cases.py
+++ b/tools/perf/page_sets/key_silk_cases.py
@@ -319,13 +319,16 @@ class Page17(KeySilkCasesPage):
self.StressHideyBars(action_runner)
def StressHideyBars(self, action_runner):
- with action_runner.CreateGestureInteraction('ScrollAction'):
+ with action_runner.CreateGestureInteraction(
+ 'ScrollAction', repeatable=True):
action_runner.ScrollElement(
selector='#messages', direction='down', speed_in_pixels_per_second=200)
- with action_runner.CreateGestureInteraction('ScrollAction'):
+ with action_runner.CreateGestureInteraction(
+ 'ScrollAction', repeatable=True):
action_runner.ScrollElement(
selector='#messages', direction='up', speed_in_pixels_per_second=200)
- with action_runner.CreateGestureInteraction('ScrollAction'):
+ with action_runner.CreateGestureInteraction(
+ 'ScrollAction', repeatable=True):
action_runner.ScrollElement(
selector='#messages', direction='down',
speed_in_pixels_per_second=200)
@@ -343,7 +346,7 @@ class Page18(KeySilkCasesPage):
self.ToggleDrawer(action_runner)
def ToggleDrawer(self, action_runner):
- with action_runner.CreateInteraction('Action_TapAction'):
+ with action_runner.CreateInteraction('Action_TapAction', repeatable=True):
action_runner.TapElement('#menu-button')
action_runner.Wait(1)
@@ -487,7 +490,6 @@ class Page23(KeySilkCasesPage):
distance_expr='window.innerHeight / 2',
direction='down',
use_touch=True)
- with action_runner.CreateInteraction('Wait'):
action_runner.Wait(1)
« no previous file with comments | « tools/perf/measurements/smoothness_controller.py ('k') | tools/perf/page_sets/polymer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698