diff options
author | ajuma <ajuma@chromium.org> | 2014-11-20 17:56:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-21 01:56:43 +0000 |
commit | fece57f968e9e753428dc8cfbe824cc9e995d721 (patch) | |
tree | b626194a4a370c8135951be67e4b2d356b8d80bd /tools/perf/page_sets | |
parent | cf420a464e80c52886d064bbfd51181215b500d0 (diff) | |
download | chromium_src-fece57f968e9e753428dc8cfbe824cc9e995d721.zip chromium_src-fece57f968e9e753428dc8cfbe824cc9e995d721.tar.gz chromium_src-fece57f968e9e753428dc8cfbe824cc9e995d721.tar.bz2 |
Telemetry: Fix swipe_to_dismiss in key_silk_cases
This test waits until the swiped message has been removed from the
messages list. However, when the swipe is too short, the message
bounces back, causing the test to hang.
This CL increases the length of the swipe gesture.
BUG=434374
Review URL: https://codereview.chromium.org/746633002
Cr-Commit-Position: refs/heads/master@{#305144}
Diffstat (limited to 'tools/perf/page_sets')
-rw-r--r-- | tools/perf/page_sets/key_silk_cases.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/page_sets/key_silk_cases.py b/tools/perf/page_sets/key_silk_cases.py index f3e42ac..8326c39 100644 --- a/tools/perf/page_sets/key_silk_cases.py +++ b/tools/perf/page_sets/key_silk_cases.py @@ -282,7 +282,7 @@ class Page16(KeySilkCasesPage): 'SwipeAction', is_smooth=True) action_runner.SwipeElement( left_start_ratio=0.8, top_start_ratio=0.2, - direction='left', distance=200, speed_in_pixels_per_second=5000, + direction='left', distance=400, speed_in_pixels_per_second=5000, element_function='document.getElementsByClassName("message")[2]') interaction.End() interaction = action_runner.BeginInteraction('Wait', is_smooth=True) |