diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 20:32:58 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 20:32:58 +0000 |
commit | 2e028a0889a45e034177aedca54fc01b9f9166b0 (patch) | |
tree | 10852c98cc87363680f26ddcbf22127849843f31 /chrome/browser/errorpage_uitest.cc | |
parent | 081f1cec17b1fd8054b532ac2b82b13b739c9949 (diff) | |
download | chromium_src-2e028a0889a45e034177aedca54fc01b9f9166b0.zip chromium_src-2e028a0889a45e034177aedca54fc01b9f9166b0.tar.gz chromium_src-2e028a0889a45e034177aedca54fc01b9f9166b0.tar.bz2 |
Add automation call to wait for multiple navigations.
Convert one ErrorPage UI test to use it.
The rest of the tests will require more work.
TEST=Covered by ui_tests.
http://crbug.com/19361, http://crbug.com/19395
Review URL: http://codereview.chromium.org/174015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/errorpage_uitest.cc')
-rw-r--r-- | chrome/browser/errorpage_uitest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/errorpage_uitest.cc b/chrome/browser/errorpage_uitest.cc index fda144d..8a4c3a0 100644 --- a/chrome/browser/errorpage_uitest.cc +++ b/chrome/browser/errorpage_uitest.cc @@ -30,11 +30,10 @@ class ErrorPageTest : public UITest { } }; -// Flaky, see http://crbug.com/19361 and http://crbug.com/19395. -TEST_F(ErrorPageTest, DISABLED_DNSError_Basic) { +TEST_F(ErrorPageTest, DNSError_Basic) { GURL test_url(URLRequestFailedDnsJob::kTestUrl); - NavigateToURL(test_url); + NavigateToURLBlockUntilNavigationsComplete(test_url, 2); EXPECT_TRUE(WaitForTitleContaining(test_url.host())); } |