summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authormarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 17:01:32 +0000
committermarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 17:01:32 +0000
commitd2840e63890845ff2aebb1434a8b05e152cf1d0e (patch)
tree994117e44d74e8bae5881f4a29cc9571d687741c /tools
parent001841c9c821994dc1610fccca03d0024368b445 (diff)
downloadchromium_src-d2840e63890845ff2aebb1434a8b05e152cf1d0e.zip
chromium_src-d2840e63890845ff2aebb1434a8b05e152cf1d0e.tar.gz
chromium_src-d2840e63890845ff2aebb1434a8b05e152cf1d0e.tar.bz2
Telemetry: Fix scrolling tests on Windows.
The http://twitter.com/katyperry page failed because the document.readyState was stuck in "interactive" and never went to "complete". The behavior after this CL matches what the scrolling test used to do before the interaction refactoring (i.e., it didn't wait for the page to become "complete" then either. BUG= Review URL: https://codereview.chromium.org/11532006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172340 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/telemetry/telemetry/page_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/telemetry/telemetry/page_test.py b/tools/telemetry/telemetry/page_test.py
index bbacede..0aaf230 100644
--- a/tools/telemetry/telemetry/page_test.py
+++ b/tools/telemetry/telemetry/page_test.py
@@ -77,7 +77,7 @@ class PageTest(object):
self.options = options
interaction = self.GetInteraction(page)
if interaction:
- tab.WaitForDocumentReadyStateToBeComplete()
+ tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
self.WillRunInteraction(page, tab)
interaction.PerformInteraction(page, tab)
self.DidRunInteraction(page, tab)