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

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

Issue 1088693002: [Telemetry] Change BeginGestureInteraction to CreateGestureInteracion in telemetry/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/web_perf/smooth_gesture_util_unittest.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_page_test_unittest.py
diff --git a/tools/telemetry/telemetry/web_perf/timeline_based_page_test_unittest.py b/tools/telemetry/telemetry/web_perf/timeline_based_page_test_unittest.py
index 357c0a1a639457c53044b55b52c5b8b9e51bece1..0ccb7970fe5ab1494a81b8ce3343cc0a883bf068 100644
--- a/tools/telemetry/telemetry/web_perf/timeline_based_page_test_unittest.py
+++ b/tools/telemetry/telemetry/web_perf/timeline_based_page_test_unittest.py
@@ -34,9 +34,8 @@ class TestTimelinebasedMeasurementPage(page_module.Page):
action_runner.TapElement('#slow-button')
action_runner.WaitForJavaScriptCondition('window.slowScriptDone')
if self._trigger_scroll_gesture:
- interaction = action_runner.BeginGestureInteraction('Scroll')
- action_runner.ScrollPage()
- interaction.End()
+ with action_runner.CreateGestureInteraction('Scroll'):
+ action_runner.ScrollPage()
class TimelineBasedPageTestTest(page_test_test_case.PageTestTestCase):
« no previous file with comments | « tools/telemetry/telemetry/web_perf/smooth_gesture_util_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698