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

Unified Diff: content/test/gpu/gpu_tests/depth_capture_integration_test.py

Issue 2672803002: [Telemetry refactor] Migrate clients to new JavaScript API (batch 3) (Closed)
Patch Set: add comment on tools/android Created 3 years, 10 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
Index: content/test/gpu/gpu_tests/depth_capture_integration_test.py
diff --git a/content/test/gpu/gpu_tests/depth_capture_integration_test.py b/content/test/gpu/gpu_tests/depth_capture_integration_test.py
index fa0ed7b791d74fbb18d4569ff0fdc2977b1bfa91..b2a40b74715c28f697c7084ff70257813861d839 100644
--- a/content/test/gpu/gpu_tests/depth_capture_integration_test.py
+++ b/content/test/gpu/gpu_tests/depth_capture_integration_test.py
@@ -77,11 +77,11 @@ class DepthCaptureIntegrationTest(gpu_integration_test.GpuIntegrationTest):
url = self.UrlOfStaticFilePath(test_path)
tab = self.tab
tab.Navigate(url, script_to_evaluate_on_commit=harness_script)
- tab.action_runner.WaitForJavaScriptCondition(
- 'domAutomationController._finished', timeout_in_seconds=60)
- if not tab.EvaluateJavaScript('domAutomationController._succeeded'):
+ tab.action_runner.WaitForJavaScriptCondition2(
+ 'domAutomationController._finished', timeout=60)
+ if not tab.EvaluateJavaScript2('domAutomationController._succeeded'):
self.fail('page indicated test failure:' +
- tab.EvaluateJavaScript('domAutomationController._error_msg'))
+ tab.EvaluateJavaScript2('domAutomationController._error_msg'))
@classmethod
def _CreateExpectations(cls):

Powered by Google App Engine
This is Rietveld 408576698