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

Side by Side Diff: telemetry/telemetry/core/android_action_runner_unittest.py

Issue 2978643002: Removing bad-continuation param and fixing resulting errors. Fixed indentation errors, in telemetry… (Closed)
Patch Set: Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from telemetry import decorators 5 from telemetry import decorators
6 from telemetry.internal.actions import action_runner as action_runner_module 6 from telemetry.internal.actions import action_runner as action_runner_module
7 from telemetry.testing import tab_test_case 7 from telemetry.testing import tab_test_case
8 8
9 9
10 class AndroidActionRunnerInteractionTest(tab_test_case.TabTestCase): 10 class AndroidActionRunnerInteractionTest(tab_test_case.TabTestCase):
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 action_runner = action_runner_module.ActionRunner(self._tab, 65 action_runner = action_runner_module.ActionRunner(self._tab,
66 skip_waits=True) 66 skip_waits=True)
67 platform = action_runner.tab.browser.platform 67 platform = action_runner.tab.browser.platform
68 platform.android_action_runner.InputText('Input spaces') 68 platform.android_action_runner.InputText('Input spaces')
69 platform.android_action_runner.InputText(', even multiple spaces') 69 platform.android_action_runner.InputText(', even multiple spaces')
70 70
71 # Check that the contents of the textarea is correct. It might take some 71 # Check that the contents of the textarea is correct. It might take some
72 # time until keystrokes are handled on Android. 72 # time until keystrokes are handled on Android.
73 self._tab.WaitForJavaScriptCondition( 73 self._tab.WaitForJavaScriptCondition(
74 ('document.querySelector("textarea").value === ' 74 ('document.querySelector("textarea").value === '\
75 '"Input spaces, even multiple spaces"'), 75 '"Input spaces, even multiple spaces"'),
76 timeout=5) 76 timeout=5)
OLDNEW
« no previous file with comments | « telemetry/telemetry/benchmark_runner_unittest.py ('k') | telemetry/telemetry/core/memory_cache_http_server_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698