Commit 9d983e1e authored by Robert Liao's avatar Robert Liao Committed by Commit Bot

Disable ConstrainedWindowViewTest.FocusTest for MacViews

There are unexpectedly multiple focus managers in this test.

BUG=824551

Change-Id: Id1d79745de9fb7ed1dd96c4224d9e57fb21ef8cd
Reviewed-on: https://chromium-review.googlesource.com/974521
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545049}
parent 31d07982
......@@ -66,10 +66,16 @@ class ConstrainedWindowViewTest : public InProcessBrowserTest {
} // namespace
#if defined(OS_MACOSX)
// Unexpected multiple focus managers on MacViews: http://crbug.com/824551
#define MAYBE_FocusTest DISABLED_FocusTest
#else
#define MAYBE_FocusTest FocusTest
#endif
// Tests the intial focus of tab-modal dialogs, the restoration of focus to the
// browser when they close, and that queued dialogs don't register themselves as
// accelerator targets until they are displayed.
IN_PROC_BROWSER_TEST_F(ConstrainedWindowViewTest, FocusTest) {
IN_PROC_BROWSER_TEST_F(ConstrainedWindowViewTest, MAYBE_FocusTest) {
content::WebContents* web_contents =
browser()->tab_strip_model()->GetActiveWebContents();
EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment