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 ee9395fba2f6506beefb25d044151d2989a01c5c..984c0ee2cf4061517abc9e795e1357ed9c14bd00 100644 |
--- a/tools/perf/page_sets/key_silk_cases.py |
+++ b/tools/perf/page_sets/key_silk_cases.py |
@@ -302,7 +302,7 @@ class Page16(KeySilkCasesPage): |
with action_runner.CreateGestureInteraction('SwipeAction'): |
action_runner.SwipeElement( |
left_start_ratio=0.8, top_start_ratio=0.2, |
- direction='left', distance=400, speed_in_pixels_per_second=5000, |
+ direction='right', distance=400, speed_in_pixels_per_second=5000, |
element_function='document.getElementsByClassName("message")[2]') |
def PerformPageInteractions(self, action_runner): |
@@ -381,7 +381,7 @@ class Page19(KeySilkCasesPage): |
with action_runner.CreateInteraction('Action_SwipeAction'): |
action_runner.SwipeElement( |
left_start_ratio=0.8, top_start_ratio=0.2, |
- direction='left', distance=200, |
+ direction='right', distance=200, |
element_function='document.getElementById("nav-drawer").children[0]') |
action_runner.WaitForJavaScriptCondition( |
'!document.getElementById("nav-drawer").active') |
@@ -539,7 +539,7 @@ class Page25(KeySilkCasesPage): |
def PerformPageInteractions(self, action_runner): |
with action_runner.CreateGestureInteraction('SwipeAction', repeatable=True): |
action_runner.SwipeElement( |
- direction='left', distance=100, |
+ direction='right', distance=100, |
element_function='document.getElementById(":f")') |
with action_runner.CreateGestureInteraction('SwipeAction', repeatable=True): |
action_runner.Wait(1) |