|
Telemetry: Clean up tap and click_element gestures.
The tap and click_element page actions have a very similar purpose but use a very
different implementation. This patch renames click_element to javascript_click
to indicate that it is not using synthetic gestures as tap does. It also replaces
click_element with tap inside smoothness measurements, so we exercise the entire
input stack. In other places we keep click_element (now javascript_click) because
tap's functionality isn't always sufficient (click elements outside of the view;
clicking on very small elements causes Chrome to magnify the element first).
Further, tap now supports all ways to select an element that click_element
supported (by text, xpath etc).
This CL also removes the tap_element page action, which was only used inside
smoothness for the pica page set. This case is currently broken and adamk@ said
he'd re-implement it using synthetic gestures if needed.
BUG= 339233
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255355
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+127 lines, -259 lines) |
Patch |
 |
M |
tools/perf/page_sets/browser_control_click.json
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/calendar_forward_backward.json
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/gmail_alt_threadlist_conversation.json
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/gmail_alt_two_labels.json
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/gmail_compose_discard.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/gmail_expand_collapse_conversation.json
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/indexeddb_offline.json
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/key_mobile_sites.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/key_silk_cases.json
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/pica.json
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/plus_alt_posts_photos.json
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/top_25.json
|
View
|
|
7 chunks |
+35 lines, -35 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/page/actions/click_element.py
|
View
|
|
1 chunk |
+0 lines, -51 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/page/actions/click_element_unittest.py
|
View
|
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
 |
A + |
tools/telemetry/telemetry/page/actions/javascript_click.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
tools/telemetry/telemetry/page/actions/javascript_click_unittest.py
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/actions/tap.js
|
View
|
1
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/actions/tap.py
|
View
|
|
4 chunks |
+51 lines, -14 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/page/actions/tap_element.py
|
View
|
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|