Commit 8a48a22c authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

Disable MediaNotificationViewTest.ButtonsFocusCheck

TBR=hbos@chromium.org
NOTRY=true

Bug: 1009287
Change-Id: Ic32dd467368d3afbf9fe4ee567aecca33c8f8b22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832690Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701563}
parent 681290f1
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "base/test/metrics/histogram_tester.h" #include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h" #include "base/test/task_environment.h"
#include "base/unguessable_token.h" #include "base/unguessable_token.h"
#include "build/build_config.h"
#include "components/media_message_center/media_notification_background.h" #include "components/media_message_center/media_notification_background.h"
#include "components/media_message_center/media_notification_constants.h" #include "components/media_message_center/media_notification_constants.h"
#include "components/media_message_center/media_notification_container.h" #include "components/media_message_center/media_notification_container.h"
...@@ -365,7 +366,12 @@ TEST_F(MAYBE_MediaNotificationViewTest, ButtonsSanityCheck) { ...@@ -365,7 +366,12 @@ TEST_F(MAYBE_MediaNotificationViewTest, ButtonsSanityCheck) {
EXPECT_FALSE(GetButtonForAction(MediaSessionAction::kPause)); EXPECT_FALSE(GetButtonForAction(MediaSessionAction::kPause));
} }
TEST_F(MAYBE_MediaNotificationViewTest, ButtonsFocusCheck) { #if defined(OS_WIN)
#define MAYBE_ButtonsFocusCheck DISABLED_ButtonsFocusCheck
#else
#define MAYBE_ButtonsFocusCheck ButtonsFocusCheck
#endif
TEST_F(MAYBE_MediaNotificationViewTest, MAYBE_ButtonsFocusCheck) {
// Expand and enable all actions to show all buttons. // Expand and enable all actions to show all buttons.
view()->SetExpanded(true); view()->SetExpanded(true);
EnableAllActions(); EnableAllActions();
......
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