| Index: chrome/browser/ui/search/instant_extended_interactive_uitest.cc
|
| diff --git a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
|
| index 2c7ce553e894fa1ee52e746b7ad92a65cbee926f..4c2c1049c91d19186193573280b8f0b04915d4c1 100644
|
| --- a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
|
| +++ b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
|
| @@ -360,13 +360,15 @@ IN_PROC_BROWSER_TEST_F(InstantExtendedTest, MAYBE_UsesOverlayIfTabNotReady) {
|
| ASSERT_NO_FATAL_FAILURE(SetupInstant(browser()));
|
| FocusOmniboxAndWaitForInstantOverlayAndNTPSupport();
|
|
|
| - // Open a new tab and start typing before InstantTab is properly hooked up.
|
| - // Should use the overlay.
|
| + // Open a new tab and navigate to instant URL. Start typing before InstantTab
|
| + // is properly hooked up. Should use the overlay.
|
| ui_test_utils::NavigateToURLWithDisposition(
|
| browser(),
|
| - GURL(chrome::kChromeUINewTabURL),
|
| - NEW_FOREGROUND_TAB,
|
| - ui_test_utils::BROWSER_TEST_WAIT_FOR_TAB);
|
| + instant_url(),
|
| + NEW_BACKGROUND_TAB,
|
| + ui_test_utils::BROWSER_TEST_NONE);
|
| + EXPECT_EQ(2, browser()->tab_strip_model()->count());
|
| + browser()->tab_strip_model()->ActivateTabAt(1, false);
|
| ASSERT_TRUE(SetOmniboxTextAndWaitForOverlayToShow("query"));
|
|
|
| // But Instant tab should still exist.
|
|
|