Commit b13dc649 authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

Disable OverflowButtonActiveInkDropTest.MouseContextMenu on linux

TBR=wjmaclean@chromium.org
NOTRY=true

Bug: 874853
Change-Id: I4d141e987d48df3ee4b4332c8341e5e5c7883301
Reviewed-on: https://chromium-review.googlesource.com/1177683
Commit-Queue: Xida Chen <xidachen@chromium.org>
Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583631}
parent 6a8a3ff4
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
#include "base/test/scoped_feature_list.h" #include "base/test/scoped_feature_list.h"
#include "base/test/scoped_mock_time_message_loop_task_runner.h" #include "base/test/scoped_mock_time_message_loop_task_runner.h"
#include "base/time/time.h" #include "base/time/time.h"
#include "build/build_config.h"
#include "testing/gmock/include/gmock/gmock.h" #include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
#include "ui/aura/test/aura_test_base.h" #include "ui/aura/test/aura_test_base.h"
...@@ -3245,9 +3246,14 @@ TEST_F(OverflowButtonActiveInkDropTest, MouseDragOutAndBack) { ...@@ -3245,9 +3246,14 @@ TEST_F(OverflowButtonActiveInkDropTest, MouseDragOutAndBack) {
EXPECT_FALSE(test_api_->IsShowingOverflowBubble()); EXPECT_FALSE(test_api_->IsShowingOverflowBubble());
} }
#if defined(OS_LINUX)
#define MAYBE_MouseContextMenu DISABLED_MouseContextMenu
#else
#define MAYBE_MouseContextMenu MouseContextMenu
#endif
// Tests ink drop state transitions for the overflow button when it is active // Tests ink drop state transitions for the overflow button when it is active
// and the user right clicks on the button to show the context menu. // and the user right clicks on the button to show the context menu.
TEST_F(OverflowButtonActiveInkDropTest, MouseContextMenu) { TEST_F(OverflowButtonActiveInkDropTest, MAYBE_MouseContextMenu) {
ui::test::EventGenerator* generator = GetEventGenerator(); ui::test::EventGenerator* generator = GetEventGenerator();
generator->MoveMouseTo(GetScreenPointInsideOverflowButton()); generator->MoveMouseTo(GetScreenPointInsideOverflowButton());
......
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