Commit 2487104f authored by minch's avatar minch Committed by Commit Bot

Delete test DISABLED_OpenAppListInOverviewMode.

Delete the useless test since we have home screen launcher and new
designed shelf in tablet mode now.

Bug: 838756
Change-Id: I9621ea11edfa15cfac89207ea935c6180c997240
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2335031Reviewed-by: default avatarXiaoqian Dai <xdai@chromium.org>
Commit-Queue: Min Chen <minch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794654}
parent 42c6159e
......@@ -1561,33 +1561,6 @@ TEST_F(WorkspaceLayoutManagerBackdropTest, SpokenFeedbackFullscreenBackground) {
EXPECT_EQ(kNoSoundKey, client.GetPlayedEarconAndReset());
}
// TODO(crbug.com/803286): The npot texture check failed on asan tests bot.
// TODO(crbug.com/838756): Very flaky on mash_ash_unittests.
TEST_F(WorkspaceLayoutManagerBackdropTest, DISABLED_OpenAppListInOverviewMode) {
WorkspaceController* wc = ShellTestApi().workspace_controller();
WorkspaceControllerTestApi test_helper(wc);
std::unique_ptr<aura::Window> window(
CreateTestWindow(gfx::Rect(0, 0, 100, 100)));
EXPECT_FALSE(test_helper.GetBackdropWindow());
// Turn the top window backdrop on.
SetTabletModeEnabled(true);
EXPECT_TRUE(test_helper.GetBackdropWindow());
// Enter overview mode.
Shell::Get()->overview_controller()->StartOverview();
base::RunLoop().RunUntilIdle();
EXPECT_FALSE(test_helper.GetBackdropWindow());
ui::ScopedAnimationDurationScaleMode test_duration_mode(
ui::ScopedAnimationDurationScaleMode::NON_ZERO_DURATION);
EXPECT_FALSE(test_helper.GetBackdropWindow());
// Showing the app list in overview mode should still hide the backdrop.
GetAppListTestHelper()->Show(GetPrimaryDisplay().id());
EXPECT_FALSE(test_helper.GetBackdropWindow());
}
TEST_F(WorkspaceLayoutManagerBackdropTest, SpokenFeedbackForArc) {
WorkspaceController* wc = ShellTestApi().workspace_controller();
WorkspaceControllerTestApi test_helper(wc);
......
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