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

Issue 2822573002: Fix android_action_runner.InputSwipe and InputText (Closed)

Created:
3 years, 8 months ago by ssid
Modified:
3 years, 7 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Fix android_action_runner.InputSwipe and InputText Fix typo in android_action_runner.InputSwipe. The input text shell command does not accept spaces. So, split it and run the command multiple times. Add tests for android_action_runner. BUG=chromium:708300, chromium:712590 Review-Url: https://codereview.chromium.org/2822573002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/6858510487e62fed33e685dc9b715a5c3e14618b

Patch Set 1 #

Total comments: 1

Patch Set 2 : remove devil/ change and add swipe test. #

Total comments: 6

Patch Set 3 : More fixes. #

Total comments: 8

Patch Set 4 : Fixes. #

Total comments: 2

Patch Set 5 : nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -3 lines) Patch
M telemetry/telemetry/core/android_action_runner.py View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
A telemetry/telemetry/core/android_action_runner_unittest.py View 1 2 3 4 1 chunk +76 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (23 generated)
ssid
+Ned ptal Thanks!
3 years, 8 months ago (2017-04-13 20:39:48 UTC) #4
nednguyen
On 2017/04/13 20:39:48, ssid wrote: > +Ned ptal Thanks! +JOhn for devil/ owner
3 years, 8 months ago (2017-04-13 20:53:40 UTC) #9
nednguyen
https://codereview.chromium.org/2822573002/diff/1/telemetry/telemetry/core/android_action_runner.py File telemetry/telemetry/core/android_action_runner.py (right): https://codereview.chromium.org/2822573002/diff/1/telemetry/telemetry/core/android_action_runner.py#newcode97 telemetry/telemetry/core/android_action_runner.py:97: top_end_coord, duration): Can you add smoke test coverage for ...
3 years, 8 months ago (2017-04-13 20:55:26 UTC) #10
jbudorick
Your change is failing to apply on the trybots because mikecase landed a similar fix ...
3 years, 8 months ago (2017-04-13 21:04:51 UTC) #11
ssid
On 2017/04/13 21:04:51, jbudorick wrote: > Your change is failing to apply on the trybots ...
3 years, 8 months ago (2017-04-13 21:05:42 UTC) #12
ssid
Ned, ptal Thanks! -John
3 years, 8 months ago (2017-04-13 23:16:59 UTC) #15
nednguyen
https://codereview.chromium.org/2822573002/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py File telemetry/telemetry/internal/actions/action_runner_unittest.py (right): https://codereview.chromium.org/2822573002/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py#newcode402 telemetry/telemetry/internal/actions/action_runner_unittest.py:402: @decorators.Enabled('android') This should be moved to android_action_runner_unittest.py
3 years, 8 months ago (2017-04-14 00:24:39 UTC) #16
nednguyen
https://codereview.chromium.org/2822573002/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py File telemetry/telemetry/internal/actions/action_runner_unittest.py (right): https://codereview.chromium.org/2822573002/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py#newcode402 telemetry/telemetry/internal/actions/action_runner_unittest.py:402: @decorators.Enabled('android') On 2017/04/14 00:24:39, nednguyen wrote: > This should ...
3 years, 8 months ago (2017-04-14 00:29:08 UTC) #17
ssid
Added some more fixed to android_action_runner and moved the tests. wdyt? https://codereview.chromium.org/2822573002/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py File telemetry/telemetry/internal/actions/action_runner_unittest.py (right): ...
3 years, 8 months ago (2017-04-25 23:58:27 UTC) #20
ssid
Added some more fixed to android_action_runner and moved the tests. wdyt?
3 years, 8 months ago (2017-04-25 23:58:27 UTC) #21
nednguyen
On 2017/04/25 23:58:27, ssid wrote: > Added some more fixed to android_action_runner and moved the ...
3 years, 8 months ago (2017-04-26 00:13:48 UTC) #23
rnephew (Reviews Here)
https://codereview.chromium.org/2822573002/diff/60001/telemetry/telemetry/core/android_action_runner.py File telemetry/telemetry/core/android_action_runner.py (right): https://codereview.chromium.org/2822573002/diff/60001/telemetry/telemetry/core/android_action_runner.py#newcode73 telemetry/telemetry/core/android_action_runner.py:73: # Spaces should be input as keyevents. Pass space ...
3 years, 8 months ago (2017-04-26 00:28:26 UTC) #24
ssid
https://codereview.chromium.org/2822573002/diff/60001/telemetry/telemetry/core/android_action_runner.py File telemetry/telemetry/core/android_action_runner.py (right): https://codereview.chromium.org/2822573002/diff/60001/telemetry/telemetry/core/android_action_runner.py#newcode73 telemetry/telemetry/core/android_action_runner.py:73: # Spaces should be input as keyevents. Pass space ...
3 years, 8 months ago (2017-04-26 00:36:46 UTC) #25
rnephew (Reviews Here)
lgtm w/ a nit and a few comments. https://codereview.chromium.org/2822573002/diff/60001/telemetry/telemetry/core/android_action_runner.py File telemetry/telemetry/core/android_action_runner.py (right): https://codereview.chromium.org/2822573002/diff/60001/telemetry/telemetry/core/android_action_runner.py#newcode73 telemetry/telemetry/core/android_action_runner.py:73: # ...
3 years, 8 months ago (2017-04-26 01:01:26 UTC) #26
rnephew (Reviews Here)
On 2017/04/26 01:01:26, rnephew (Reviews Here) wrote: > lgtm w/ a nit and a few ...
3 years, 8 months ago (2017-04-26 01:01:43 UTC) #27
ssid
Thanks. fixed. https://codereview.chromium.org/2822573002/diff/60001/telemetry/telemetry/core/android_action_runner.py File telemetry/telemetry/core/android_action_runner.py (right): https://codereview.chromium.org/2822573002/diff/60001/telemetry/telemetry/core/android_action_runner.py#newcode73 telemetry/telemetry/core/android_action_runner.py:73: # Spaces should be input as keyevents. ...
3 years, 8 months ago (2017-04-26 01:12:46 UTC) #28
nednguyen
Great tests, thanks ssid! lgtm https://codereview.chromium.org/2822573002/diff/80001/telemetry/telemetry/core/android_action_runner_unittest.py File telemetry/telemetry/core/android_action_runner_unittest.py (right): https://codereview.chromium.org/2822573002/diff/80001/telemetry/telemetry/core/android_action_runner_unittest.py#newcode77 telemetry/telemetry/core/android_action_runner_unittest.py:77: nits: remove this blank ...
3 years, 8 months ago (2017-04-26 14:59:56 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2822573002/100001
3 years, 7 months ago (2017-04-26 17:24:10 UTC) #36
ssid
https://codereview.chromium.org/2822573002/diff/80001/telemetry/telemetry/core/android_action_runner_unittest.py File telemetry/telemetry/core/android_action_runner_unittest.py (right): https://codereview.chromium.org/2822573002/diff/80001/telemetry/telemetry/core/android_action_runner_unittest.py#newcode77 telemetry/telemetry/core/android_action_runner_unittest.py:77: On 2017/04/26 14:59:56, nednguyen wrote: > nits: remove this ...
3 years, 7 months ago (2017-04-26 17:24:26 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Mac Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Mac%20Tryserver/builds/7342)
3 years, 7 months ago (2017-04-26 18:06:46 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2822573002/100001
3 years, 7 months ago (2017-04-26 19:02:47 UTC) #42
commit-bot: I haz the power
Committed patchset #5 (id:100001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/6858510487e62fed33e685dc9b715a5c3e14618b
3 years, 7 months ago (2017-04-26 19:17:54 UTC) #45
perezju
3 years, 7 months ago (2017-04-27 08:59:24 UTC) #46
Message was sent while issue was closed.
On 2017/04/26 19:17:54, commit-bot: I haz the power wrote:
> Committed patchset #5 (id:100001) as
>
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Nice catch, thanks ssid for the fix!

Powered by Google App Engine
This is Rietveld 408576698