Commit 1d476839 authored by charliea's avatar charliea Committed by Commit bot

Double the navigation timeouts for page cycler stories

This is in response to problems with loading.mobile on Android One/3G,
where almost all stories were timing out.

BUG=673461

Review-Url: https://codereview.chromium.org/2577243002
Cr-Commit-Position: refs/heads/master@{#438969}
parent 7a5785c7
......@@ -6,7 +6,9 @@ from telemetry.page import page
from telemetry.page import cache_temperature as cache_temperature_module
from telemetry.page import shared_page_state
_TTI_WAIT_TIME = 10
_WEB_CONTENTS_TIMEOUT = 180
class PageCyclerStory(page.Page):
......@@ -19,6 +21,13 @@ class PageCyclerStory(page.Page):
cache_temperature=cache_temperature,
**kwargs)
def RunNavigateSteps(self, action_runner):
url = self.file_path_url_with_scheme if self.is_file else self.url
action_runner.Navigate(url,
self.script_to_evaluate_on_commit,
timeout_in_seconds = 120)
def RunPageInteractions(self, action_runner):
action_runner.tab.WaitForDocumentReadyStateToBeComplete()
action_runner.tab.WaitForDocumentReadyStateToBeComplete(
_WEB_CONTENTS_TIMEOUT)
action_runner.Wait(_TTI_WAIT_TIME)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment