summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/views/find_bar_win_uitest.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/find_bar_win_uitest.cc b/chrome/browser/views/find_bar_win_uitest.cc
index 7844a55..0e04274 100644
--- a/chrome/browser/views/find_bar_win_uitest.cc
+++ b/chrome/browser/views/find_bar_win_uitest.cc
@@ -155,6 +155,11 @@ TEST_F(FindInPageControllerTest, FindMovesOnTabClose_Issue1343052) {
// Open the Find window and wait for it to animate.
fprintf(stderr, "OpenFindInPage in A\n");
EXPECT_TRUE(tabA->OpenFindInPage());
+ // TODO(brettw) fix this! It appears that WaitForFindWindowFullyVisible is
+ // broken somehow, and we're getting incorrect values here, probably as a
+ // result of the animation. Waiting some extra time seems to make this test
+ // pass.
+ Sleep(1000);
fprintf(stderr, "WaitForWindowFullyVisible in A\n");
EXPECT_TRUE(WaitForFindWindowFullyVisible(tabA.get()));