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

Unified Diff: tools/telemetry/telemetry/web_perf/timeline_based_measurement_unittest.py

Issue 321563003: Add Wait* API to ActionRunner to wrap over WaitAction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing to head. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/page/actions/wait.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/web_perf/timeline_based_measurement_unittest.py
diff --git a/tools/telemetry/telemetry/web_perf/timeline_based_measurement_unittest.py b/tools/telemetry/telemetry/web_perf/timeline_based_measurement_unittest.py
index 99444fbd0f1e99da566fd17e290e842a9380d3bf..63385c885865043c209bdd7e0cdd0b9d268e37a0 100644
--- a/tools/telemetry/telemetry/web_perf/timeline_based_measurement_unittest.py
+++ b/tools/telemetry/telemetry/web_perf/timeline_based_measurement_unittest.py
@@ -108,10 +108,10 @@ class TestTimelinebasedMeasurementPage(page_module.Page):
'file://interaction_enabled_page.html', ps, base_dir)
def RunSmoothness(self, action_runner):
- action_runner.RunAction(WaitAction({'seconds': 2}))
+ action_runner.Wait(2)
action_runner.RunAction(TapAction(
{'selector': '#drawer', 'automatically_record_interaction': False}))
- action_runner.RunAction(WaitAction({'seconds': 1}))
+ action_runner.Wait(1)
class TimelineBasedMeasurementTest(
« no previous file with comments | « tools/telemetry/telemetry/page/actions/wait.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698