| Index: tools/perf/page_sets/tough_path_rendering_cases.py
|
| diff --git a/tools/perf/page_sets/tough_path_rendering_cases.py b/tools/perf/page_sets/tough_path_rendering_cases.py
|
| index 1748ddb4362121262945b2a81312991a0e436439..924576033beca6b63a3c4f4517b571f329d491de 100644
|
| --- a/tools/perf/page_sets/tough_path_rendering_cases.py
|
| +++ b/tools/perf/page_sets/tough_path_rendering_cases.py
|
| @@ -15,10 +15,12 @@ class ToughPathRenderingCasesPage(page_module.Page):
|
| class ChalkboardPage(page_module.Page):
|
|
|
| def RunPageInteractions(self, action_runner):
|
| + action_runner.tab.WaitForDocumentReadyStateToBeComplete()
|
| with action_runner.CreateInteraction('ClickStart'):
|
| action_runner.EvaluateJavaScript(
|
| 'document.getElementById("StartButton").click()')
|
| - action_runner.Wait(20)
|
| + action_runner.WaitForJavaScriptCondition(
|
| + 'document.getElementById("FinalTime").innerText != ""')
|
|
|
| class ToughPathRenderingCasesPageSet(story.StorySet):
|
|
|
|
|