Commit 7181d0ab authored by Christos Froussios's avatar Christos Froussios Committed by Commit Bot

[Sheriff] Disable flaky ProfileMenuClickTest_SyncEnabled on Windows

TBR=rhalavati

Bug: 1068103
Change-Id: I1f1a8b16a4ab49e32c9e571b0fc664c2a30e7901
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135624Reviewed-by: default avatarChristos Froussios <cfroussios@chromium.org>
Reviewed-by: default avatarRamin Halavati <rhalavati@chromium.org>
Commit-Queue: Christos Froussios <cfroussios@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756616}
parent 15f45a68
......@@ -200,8 +200,7 @@ IN_PROC_BROWSER_TEST_F(ProfileMenuViewExtensionsTest, ThemeChanged) {
// Profile chooser view should close when a tab is added.
// Regression test for http://crbug.com/792845
IN_PROC_BROWSER_TEST_F(ProfileMenuViewExtensionsTest,
CloseBubbleOnTadAdded) {
IN_PROC_BROWSER_TEST_F(ProfileMenuViewExtensionsTest, CloseBubbleOnTadAdded) {
TabStripModel* tab_strip = browser()->tab_strip_model();
ASSERT_EQ(1, tab_strip->count());
ASSERT_EQ(0, tab_strip->active_index());
......@@ -459,8 +458,15 @@ constexpr ProfileMenuViewBase::ActionableItem kActionableItems_SyncEnabled[] = {
// there are no other buttons at the end.
ProfileMenuViewBase::ActionableItem::kPasswordsButton};
#if defined(OS_WIN)
// TODO(crbug.com/1068103): Flaky on Windows
#define MAYBE_ProfileMenuClickTest_SyncEnabled \
DISABLED_ProfileMenuClickTest_SyncEnabled
#else
#define MAYBE_ProfileMenuClickTest_SyncEnabled ProfileMenuClickTest_SyncEnabled
#endif
PROFILE_MENU_CLICK_TEST(kActionableItems_SyncEnabled,
ProfileMenuClickTest_SyncEnabled) {
MAYBE_ProfileMenuClickTest_SyncEnabled) {
ASSERT_TRUE(sync_harness()->SetupSync());
// Check that the sync setup was successful.
ASSERT_TRUE(identity_manager()->HasPrimaryAccount());
......
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