From ff376350cb9b82dc0f3f8200104ecbbdd965c1fc Mon Sep 17 00:00:00 2001 From: Simon Hong Date: Tue, 12 Nov 2024 16:04:43 +0900 Subject: [PATCH] Disable flay context menu test on macOS issue: https://github.com/brave/brave-browser/issues/42232 --- .../frame/vertical_tab_strip_root_view_browsertest.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/browser/ui/views/frame/vertical_tab_strip_root_view_browsertest.cc b/browser/ui/views/frame/vertical_tab_strip_root_view_browsertest.cc index a79bc2d97611..3da2df3f1f4a 100644 --- a/browser/ui/views/frame/vertical_tab_strip_root_view_browsertest.cc +++ b/browser/ui/views/frame/vertical_tab_strip_root_view_browsertest.cc @@ -153,8 +153,15 @@ IN_PROC_BROWSER_TEST_F(VerticalTabStripRootViewBrowserTest, DragOnCurrentTab) { .EqualsIgnoringRef(url)); } +// Flaky on Mac. +#if BUILDFLAG(IS_MAC) +#define MAYBE_ContextMenuInUnobscuredRegion \ + DISABLED_ContextMenuInUnobscuredRegion +#else +#define MAYBE_ContextMenuInUnobscuredRegion ContextMenuInUnobscuredRegion +#endif IN_PROC_BROWSER_TEST_F(VerticalTabStripRootViewBrowserTest, - ContextMenuInUnobscuredRegion) { + MAYBE_ContextMenuInUnobscuredRegion) { ToggleVerticalTabStrip(); ASSERT_TRUE(tabs::utils::ShouldShowVerticalTabs(browser()));