Commit ecb86306 authored by Makoto Shimazu's avatar Makoto Shimazu Committed by Commit Bot

More disable tests in DemoSetupArcSupportedTest

TBR=michaelpg@chromium.org

No-Try: true
Bug: 1150349
Change-Id: Ib27007ecf4929f227fa9e7925fefa4bfed903c74
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551885Reviewed-by: default avatarMakoto Shimazu <shimazu@chromium.org>
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#829584}
parent 2eb1db9a
...@@ -493,8 +493,15 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, ...@@ -493,8 +493,15 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
EXPECT_TRUE(IsScreenShown(DemoPreferencesScreenView::kScreenId)); EXPECT_TRUE(IsScreenShown(DemoPreferencesScreenView::kScreenId));
} }
// TODO(crbug.com/1150349): Flaky on ChromeOS ASAN.
#if defined(ADDRESS_SANITIZER)
#define MAYBE_ShowConfirmationDialogAndCancel \
DISABLED_ShowConfirmationDialogAndCancel
#else
#define MAYBE_ShowConfirmationDialogAndCancel ShowConfirmationDialogAndCancel
#endif
IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
ShowConfirmationDialogAndCancel) { MAYBE_ShowConfirmationDialogAndCancel) {
EXPECT_FALSE(IsConfirmationDialogShown()); EXPECT_FALSE(IsConfirmationDialogShown());
InvokeDemoModeWithAccelerator(); InvokeDemoModeWithAccelerator();
...@@ -506,7 +513,13 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, ...@@ -506,7 +513,13 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
EXPECT_FALSE(IsScreenShown(DemoPreferencesScreenView::kScreenId)); EXPECT_FALSE(IsScreenShown(DemoPreferencesScreenView::kScreenId));
} }
IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, InvokeWithTaps) { // TODO(crbug.com/1150349): Flaky on ChromeOS ASAN.
#if defined(ADDRESS_SANITIZER)
#define MAYBE_InvokeWithTaps DISABLED_InvokeWithTaps
#else
#define MAYBE_InvokeWithTaps InvokeWithTaps
#endif
IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, MAYBE_InvokeWithTaps) {
// Use fake time to avoid flakiness. // Use fake time to avoid flakiness.
SetFakeTimeForMultiTapDetector(base::Time::UnixEpoch()); SetFakeTimeForMultiTapDetector(base::Time::UnixEpoch());
EXPECT_FALSE(IsConfirmationDialogShown()); EXPECT_FALSE(IsConfirmationDialogShown());
......
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