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

Issue 321563003: Add Wait* API to ActionRunner to wrap over WaitAction. (Closed)

Created:
6 years, 6 months ago by chrishenry
Modified:
6 years, 6 months ago
CC:
chromium-reviews, piman+watch_chromium.org, telemetry+watch_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add Wait* API to ActionRunner to wrap over WaitAction. Add ability to wait for an element specified by a JS function. The ActionRunner API's WaitForElement will not support lookup by xpath, unlike WaitAction(). Page sets that uses this feature now have their own _CreateXpathFunction instead, that uses element_function variant of WaitForElement. BUG=361809 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275738

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Address review comment. #

Patch Set 3 : Rebasing to head. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+465 lines, -779 lines) Patch
M content/test/gpu/gpu_tests/context_lost.py View 1 2 4 chunks +6 lines, -8 lines 0 comments Download
M content/test/gpu/gpu_tests/maps.py View 1 chunk +1 line, -2 lines 0 comments Download
M content/test/gpu/gpu_tests/screenshot_sync.py View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/test/gpu/gpu_tests/webgl_conformance.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/gpu/gpu_tests/webgl_robustness.py View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/test/gpu/page_sets/gpu_process_tests.py View 1 chunk +2 lines, -5 lines 0 comments Download
M content/test/gpu/page_sets/gpu_rasterization_tests.py View 1 chunk +2 lines, -5 lines 0 comments Download
M content/test/gpu/page_sets/memory_tests.py View 1 chunk +2 lines, -5 lines 0 comments Download
M content/test/gpu/page_sets/pixel_tests.py View 1 chunk +2 lines, -5 lines 0 comments Download
M tools/perf/benchmarks/maps.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/measurements/polymer_load.py View 2 chunks +1 line, -5 lines 0 comments Download
M tools/perf/measurements/smoothness_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/browser_control.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/browser_control_click.py View 1 chunk +3 lines, -13 lines 0 comments Download
M tools/perf/page_sets/calendar_forward_backward.py View 2 chunks +18 lines, -81 lines 0 comments Download
M tools/perf/page_sets/gmail_alt_threadlist_conversation.py View 2 chunks +5 lines, -7 lines 0 comments Download
M tools/perf/page_sets/gmail_alt_two_labels.py View 2 chunks +5 lines, -7 lines 0 comments Download
M tools/perf/page_sets/gmail_compose_discard.py View 3 chunks +18 lines, -18 lines 0 comments Download
M tools/perf/page_sets/gmail_expand_collapse_conversation.py View 1 chunk +8 lines, -24 lines 0 comments Download
M tools/perf/page_sets/image_decoding_measurement.py View 1 chunk +1 line, -4 lines 0 comments Download
M tools/perf/page_sets/indexeddb_offline.py View 1 2 2 chunks +17 lines, -29 lines 0 comments Download
M tools/perf/page_sets/key_desktop_sites.py View 3 chunks +7 lines, -15 lines 0 comments Download
M tools/perf/page_sets/key_mobile_sites.py View 1 12 chunks +38 lines, -73 lines 0 comments Download
M tools/perf/page_sets/key_silk_cases.py View 26 chunks +37 lines, -65 lines 0 comments Download
M tools/perf/page_sets/maps.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/media_cns_cases.py View 1 chunk +1 line, -4 lines 0 comments Download
M tools/perf/page_sets/mobile_memory.py View 2 chunks +6 lines, -21 lines 0 comments Download
M tools/perf/page_sets/mse_cases.py View 1 chunk +1 line, -4 lines 0 comments Download
M tools/perf/page_sets/plus_alt_posts_photos.py View 1 1 chunk +9 lines, -28 lines 0 comments Download
M tools/perf/page_sets/polymer.py View 3 chunks +4 lines, -10 lines 0 comments Download
M tools/perf/page_sets/service_worker.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/startup_pages.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/top_10.py View 1 2 5 chunks +8 lines, -11 lines 0 comments Download
M tools/perf/page_sets/top_25.py View 1 2 19 chunks +52 lines, -218 lines 0 comments Download
M tools/perf/page_sets/top_desktop_sites_2012Q3.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/tough_animation_cases.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/tough_canvas_cases.py View 1 chunk +3 lines, -8 lines 0 comments Download
M tools/perf/page_sets/tough_compositor_cases.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/tough_energy_cases.py View 1 chunk +3 lines, -6 lines 0 comments Download
M tools/perf/page_sets/tough_pinch_zoom_cases.py View 1 9 chunks +11 lines, -30 lines 0 comments Download
M tools/perf/page_sets/tough_scheduling_cases.py View 2 chunks +1 line, -5 lines 0 comments Download
M tools/perf/page_sets/tough_video_cases.py View 2 chunks +1 line, -5 lines 0 comments Download
M tools/perf/page_sets/tough_webgl_cases.py View 3 chunks +10 lines, -16 lines 0 comments Download
M tools/perf/page_sets/webrtc_cases.py View 3 chunks +5 lines, -20 lines 0 comments Download
M tools/telemetry/telemetry/page/actions/action_runner.py View 1 2 2 chunks +57 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/actions/action_runner_unittest.py View 1 2 3 chunks +98 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/page/actions/wait.py View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/timeline_based_measurement_unittest.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
chrishenry
6 years, 6 months ago (2014-06-06 18:04:28 UTC) #1
nednguyen
lgtm https://codereview.chromium.org/321563003/diff/40001/tools/telemetry/telemetry/page/actions/action_runner.py File tools/telemetry/telemetry/page/actions/action_runner.py (right): https://codereview.chromium.org/321563003/diff/40001/tools/telemetry/telemetry/page/actions/action_runner.py#newcode115 tools/telemetry/telemetry/page/actions/action_runner.py:115: def _FillElementSelector(attr, selector=None, contains_text=None, contains_text -> text & ...
6 years, 6 months ago (2014-06-06 21:37:52 UTC) #2
chrishenry
Hi Ken, Ned said you can approve for content/test/gpu. Can you help look at them? ...
6 years, 6 months ago (2014-06-06 22:50:26 UTC) #3
chrishenry
https://codereview.chromium.org/321563003/diff/40001/tools/telemetry/telemetry/page/actions/action_runner.py File tools/telemetry/telemetry/page/actions/action_runner.py (right): https://codereview.chromium.org/321563003/diff/40001/tools/telemetry/telemetry/page/actions/action_runner.py#newcode115 tools/telemetry/telemetry/page/actions/action_runner.py:115: def _FillElementSelector(attr, selector=None, contains_text=None, On 2014/06/06 21:37:51, nednguyen wrote: ...
6 years, 6 months ago (2014-06-06 22:50:47 UTC) #4
Ken Russell (switch to Gerrit)
content/test/gpu LGTM
6 years, 6 months ago (2014-06-07 00:40:18 UTC) #5
chrishenry
The CQ bit was checked by chrishenry@google.com
6 years, 6 months ago (2014-06-07 00:55:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishenry@google.com/321563003/60001
6 years, 6 months ago (2014-06-07 00:56:31 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 04:00:21 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 04:04:16 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/11763) android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/193129) chromium_presubmit ...
6 years, 6 months ago (2014-06-07 04:04:17 UTC) #10
nednguyen
The CQ bit was checked by nednguyen@google.com
6 years, 6 months ago (2014-06-07 05:52:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishenry@google.com/321563003/60001
6 years, 6 months ago (2014-06-07 05:54:25 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 06:26:38 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 06:31:29 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/11782) android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/193148) chromium_presubmit ...
6 years, 6 months ago (2014-06-07 06:31:30 UTC) #15
chrishenry
The CQ bit was checked by chrishenry@google.com
6 years, 6 months ago (2014-06-08 03:56:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishenry@google.com/321563003/120001
6 years, 6 months ago (2014-06-08 03:56:53 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-08 05:46:21 UTC) #18
commit-bot: I haz the power
6 years, 6 months ago (2014-06-08 07:01:00 UTC) #19
Message was sent while issue was closed.
Change committed as 275738

Powered by Google App Engine
This is Rietveld 408576698