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

Issue 2122703002: [telemetry] Add support for dispatching key events (Closed)

Created:
4 years, 5 months ago by petrcermak
Modified:
4 years, 5 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Base URL:
git@github.com:catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[telemetry] Add support for dispatching key events This enables stories to simulate key presses, e.g.: action_runner.PressKey('PageDown') action_runner.EnterText('This text will be added char-by-char.') Rationale: This will allow us to write more complex System Health user stories. BUG=chromium:589726 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/aad076ce2d0def58657d3a31c264bc41b6cfaa07

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add ActionRunner.EnterText and test #

Patch Set 3 : Raise explicit ValueError #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -0 lines) Patch
M telemetry/telemetry/internal/actions/action_runner.py View 1 2 chunks +26 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/actions/action_runner_unittest.py View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A telemetry/telemetry/internal/actions/key_event.py View 1 2 1 chunk +96 lines, -0 lines 0 comments Download
A telemetry/telemetry/internal/actions/key_event_unittest.py View 1 2 1 chunk +83 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py View 1 chunk +69 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/browser/web_contents.py View 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
petrcermak
PTAL. Thanks, Petr
4 years, 5 months ago (2016-07-04 16:08:42 UTC) #4
nednguyen
mostly l2gm Can you add test to action_runner_unittest to cover new API? https://codereview.chromium.org/2122703002/diff/20001/telemetry/telemetry/internal/actions/action_runner.py File telemetry/telemetry/internal/actions/action_runner.py ...
4 years, 5 months ago (2016-07-05 12:41:03 UTC) #5
nednguyen
lgtm whenever Kari is happy
4 years, 5 months ago (2016-07-05 13:17:34 UTC) #7
petrcermak
Thanks for your comments. PTAL. Petr https://codereview.chromium.org/2122703002/diff/20001/telemetry/telemetry/internal/actions/action_runner.py File telemetry/telemetry/internal/actions/action_runner.py (right): https://codereview.chromium.org/2122703002/diff/20001/telemetry/telemetry/internal/actions/action_runner.py#newcode577 telemetry/telemetry/internal/actions/action_runner.py:577: """ On 2016/07/05 ...
4 years, 5 months ago (2016-07-06 16:35:05 UTC) #10
nednguyen
https://codereview.chromium.org/2122703002/diff/20001/telemetry/telemetry/internal/actions/action_runner.py File telemetry/telemetry/internal/actions/action_runner.py (right): https://codereview.chromium.org/2122703002/diff/20001/telemetry/telemetry/internal/actions/action_runner.py#newcode577 telemetry/telemetry/internal/actions/action_runner.py:577: """ On 2016/07/06 16:35:05, petrcermak wrote: > On 2016/07/05 ...
4 years, 5 months ago (2016-07-07 02:43:27 UTC) #11
petrcermak
Thanks for your comments. PTAL. Petr https://codereview.chromium.org/2122703002/diff/20001/telemetry/telemetry/internal/actions/action_runner.py File telemetry/telemetry/internal/actions/action_runner.py (right): https://codereview.chromium.org/2122703002/diff/20001/telemetry/telemetry/internal/actions/action_runner.py#newcode577 telemetry/telemetry/internal/actions/action_runner.py:577: """ On 2016/07/07 ...
4 years, 5 months ago (2016-07-07 15:25:57 UTC) #12
nednguyen
lgtm
4 years, 5 months ago (2016-07-07 20:59:51 UTC) #13
aiolos (Not reviewing)
lgtm
4 years, 5 months ago (2016-07-08 22:47:12 UTC) #14
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/2122703002/80001
4 years, 5 months ago (2016-07-11 07:25:25 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:80001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/aad076ce2d0def58657d3a31c264bc41b6cfaa07
4 years, 5 months ago (2016-07-11 07:56:33 UTC) #18
eakuefner
4 years, 5 months ago (2016-07-11 20:36:52 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:80001) has been created in
https://codereview.chromium.org/2137243002/ by eakuefner@chromium.org.

The reason for reverting is: Broke Catapult roll: crbug.com/627221 for context..

Powered by Google App Engine
This is Rietveld 408576698