summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/chrome_main_uitest.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/app/chrome_main_uitest.cc b/chrome/app/chrome_main_uitest.cc
index 6038c9c..b70e58c 100644
--- a/chrome/app/chrome_main_uitest.cc
+++ b/chrome/app/chrome_main_uitest.cc
@@ -35,17 +35,13 @@ TEST_F(ChromeMainTest, AppTestingInterface) {
}
// Make sure that the second invocation creates a new window.
-// This test is disabled. See bug 5671.
-TEST_F(ChromeMainTest, DISABLED_SecondLaunch) {
+TEST_F(ChromeMainTest, SecondLaunch) {
include_testing_id_ = false;
use_existing_browser_ = true;
LaunchBrowser(CommandLine(L""), false);
- int window_count;
- ASSERT_TRUE(automation()->WaitForWindowCountToChange(1, &window_count,
- action_timeout_ms()));
- ASSERT_EQ(2, window_count);
+ ASSERT_TRUE(automation()->WaitForWindowCountToBecome(2, action_timeout_ms()));
}
TEST_F(ChromeMainTest, ReuseBrowserInstanceWhenOpeningFile) {