Commit 15836261 authored by Cattalyya Nuengsigkapian's avatar Cattalyya Nuengsigkapian Committed by Chromium LUCI CQ

Bento: AltTabMode: Disable Bento in kLimitAltTabToActiveDesk flag tests

Bug: 1142726
Test: `ash_unittests --gtest_filter=*LimitedWindowCycleControllerTest.CycleShowsActiveDeskWindows*`
Change-Id: If6b4241c96b7b4f94bf35103d352e2d73217d353
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626606Reviewed-by: default avatarXiaoqian Dai <xdai@chromium.org>
Commit-Queue: Cattalyya Nuengsigkapian <cattalyya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843648}
parent b11a2044
......@@ -1026,8 +1026,10 @@ class LimitedWindowCycleControllerTest : public WindowCycleControllerTest {
// WindowCycleControllerTest:
void SetUp() override {
scoped_feature_list_.InitAndEnableFeature(
features::kLimitAltTabToActiveDesk);
// |features::kBento| overwrites |features::kLimitAltTabToActiveDesk|, so
// Bento needs to be disabled first.
scoped_feature_list_.InitWithFeatures({features::kLimitAltTabToActiveDesk},
{features::kBento});
WindowCycleControllerTest::SetUp();
}
......
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