Skip to content

Commit

Permalink
Merge pull request #26501 from brave/disable_flaky_context_menu_test_…
Browse files Browse the repository at this point in the history
…onMac

Disable flay context menu test on macOS
  • Loading branch information
simonhong authored Nov 12, 2024
2 parents a1c762d + ff37635 commit 2f34c66
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit 2f34c66

Please sign in to comment.