Commit d5088ab4 authored by nancylingwang's avatar nancylingwang Committed by Commit Bot

Enable the test case AppContextMenuTest, ArcMenuSuspendedItem.

The flaky issue has been fixed with CL:2371767, so enable this test
case.

BUG=1115762

Change-Id: Ia96b7e58c20470f2f0badcda9e13bff4bfdf1e84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2375011Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801630}
parent fcc6bbe8
......@@ -598,10 +598,8 @@ TEST_P(AppContextMenuTest, ArcMenuStickyItem) {
}
// In suspended state app does not have launch item.
// Disabled for being flaky. crbug.com/1115762
TEST_P(AppContextMenuTest, DISABLED_ArcMenuSuspendedItem) {
apps::AppServiceTest app_service_test;
app_service_test.SetUp(profile());
TEST_P(AppContextMenuTest, ArcMenuSuspendedItem) {
app_service_test().SetUp(profile());
ArcAppTest arc_test;
arc_test.SetUp(profile());
......@@ -609,7 +607,7 @@ TEST_P(AppContextMenuTest, DISABLED_ArcMenuSuspendedItem) {
app.suspended = true;
arc_test.app_instance()->SendRefreshAppList({app});
app_service_test.FlushMojoCalls();
app_service_test().FlushMojoCalls();
const std::string app_id = ArcAppTest::GetAppId(app);
controller()->SetAppPinnable(app_id, AppListControllerDelegate::PIN_EDITABLE);
......
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