Index: content/test/gpu/gpu_tests/maps.py |
diff --git a/content/test/gpu/gpu_tests/maps.py b/content/test/gpu/gpu_tests/maps.py |
index 1d5bb6fdc2b4bd7d77866b8a0153cc2c10804851..e88b2a58675dcfb5b34a3f2906e93812a4cd67c6 100644 |
--- a/content/test/gpu/gpu_tests/maps.py |
+++ b/content/test/gpu/gpu_tests/maps.py |
@@ -84,8 +84,7 @@ class MapsPage(page.Page): |
def RunNavigateSteps(self, action_runner): |
action_runner.NavigateToPage(self) |
- action_runner.RunAction(WaitAction({'javascript': 'window.testDone', |
- 'timeout': 180})) |
+ action_runner.WaitForJavaScriptCondition('window.testDone', timeout=180) |
class Maps(cloud_storage_test_base.TestBase): |