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

Unified Diff: content/test/gpu/page_sets/gpu_rasterization_tests.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 | « content/test/gpu/page_sets/gpu_process_tests.py ('k') | content/test/gpu/page_sets/memory_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/page_sets/gpu_rasterization_tests.py
diff --git a/content/test/gpu/page_sets/gpu_rasterization_tests.py b/content/test/gpu/page_sets/gpu_rasterization_tests.py
index e6a338f60969090dbc16f5e6277795a4e372e7b6..4933302c40c4a9a2f54b498ab6ab65a8e307dbae 100644
--- a/content/test/gpu/page_sets/gpu_rasterization_tests.py
+++ b/content/test/gpu/page_sets/gpu_rasterization_tests.py
@@ -69,11 +69,8 @@ class GpuRasterizationTestsPage(page_module.Page):
def RunNavigateSteps(self, action_runner):
action_runner.NavigateToPage(self)
- action_runner.RunAction(WaitAction(
- {
- 'javascript': 'domAutomationController._finished',
- 'timeout': 30
- }))
+ action_runner.WaitForJavaScriptCondition(
+ 'domAutomationController._finished', timeout=30)
class GpuRasterizationTestsPageSet(page_set_module.PageSet):
« no previous file with comments | « content/test/gpu/page_sets/gpu_process_tests.py ('k') | content/test/gpu/page_sets/memory_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698