| Index: chrome/browser/views/find_bar_host_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/views/find_bar_host_browsertest.cc (revision 37168)
|
| +++ chrome/browser/views/find_bar_host_browsertest.cc (working copy)
|
| @@ -592,9 +592,9 @@
|
| // We should not have reached the end.
|
| ASSERT_GT(kMoveIterations, index);
|
|
|
| - // Search backwards once to get the Find box to move back.
|
| - EXPECT_EQ(kMoveIterations, FindInPageWchar(tab, L"Chromium",
|
| - kBack, kIgnoreCase, &ordinal));
|
| + // Search for something guaranteed not to be obscured by the Find box.
|
| + EXPECT_EQ(1, FindInPageWchar(tab, L"Done",
|
| + kFwd, kIgnoreCase, &ordinal));
|
| // Check the position.
|
| EXPECT_TRUE(GetFindBarWindowInfo(&position, &fully_visible));
|
| EXPECT_TRUE(fully_visible);
|
|
|