diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 23:24:35 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 23:24:35 +0000 |
commit | bfa013384b6a5160779887b2a8dc2081f22c0b4e (patch) | |
tree | c27ffc45310e03b715ef5c86c3d8101799fa2e1c /tools | |
parent | 3167a14f5a2a73afa9774b92faf4016b633f6366 (diff) | |
download | chromium_src-bfa013384b6a5160779887b2a8dc2081f22c0b4e.zip chromium_src-bfa013384b6a5160779887b2a8dc2081f22c0b4e.tar.gz chromium_src-bfa013384b6a5160779887b2a8dc2081f22c0b4e.tar.bz2 |
[chrome-remote-control] Fix flakiness on docs.
We need to wait for the scrollable region to exist before
scrollable_element_function runs.
Example failure:
http://build.chromium.org/p/chromium.perf/builders/Linux%20Perf%20%282%29/builds/18255/steps/scrolling_benchmark/logs/stdio
BUG=None
TEST=Manual
Review URL: https://codereview.chromium.org/11226048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/page_sets/top_25.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/page_sets/top_25.json b/tools/perf/page_sets/top_25.json index 9fc04ee..2e23640 100644 --- a/tools/perf/page_sets/top_25.json +++ b/tools/perf/page_sets/top_25.json @@ -24,6 +24,7 @@ "url": "https://drive.google.com", "why": "productivity, top google properties", "credentials": "google", + "wait_for_javascript_expression": "document.getElementsByClassName('doclistview-list').length", "scrollable_element_function": "function(callback) { callback(document.getElementsByClassName('doclistview-list')[0]); }" }, { @@ -31,6 +32,7 @@ "url": "https://docs.google.com/document/d/1X-IKNjtEnx-WW5JIKRLsyhz5sbsat3mfTpAPUSX3_s4/view", "why": "productivity, top google properties; Sample doc in the link", "credentials": "google", + "wait_for_javascript_expression": "document.getElementsByClassName('kix-appview-editor').length", "scrollable_element_function": "function(callback) { callback(document.getElementsByClassName('kix-appview-editor')[0]); }" }, { |