Commit 9cf96e45 authored by dyu@chromium.org's avatar dyu@chromium.org

Revert back to using WaitUntil for page readyState until tests using

WaitUntilNavigationCompletes() can be determined.

TEST=none
BUG=124877
Review URL: https://chromiumcodereview.appspot.com/10217005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133751 0039d316-1c4b-4281-b951-d872f2087c98
parent eb68310e
......@@ -208,7 +208,11 @@ class OneClickInfobarTest(pyauto.PyUITest):
username = creds['username']
password = creds['password']
test_utils.GoogleAccountsLogin(self, username, password, tab_index, windex)
self.WaitUntilNavigationCompletes(tab_index=tab_index, windex=windex)
# TODO(dyu): Use WaitUntilNavigationCompletes after investigating
# crbug.com/124877
self.WaitUntil(
lambda: self.GetDOMValue('document.readyState'),
expect_retval='complete')
def _PerformActionOnInfobar(self, action):
"""Perform an action on the infobar: accept, cancel, or dismiss.
......
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