Commit f3a10053 authored by Theresa's avatar Theresa Committed by Commit Bot

Restrict AppMenuTest#testHideMenuOnToggleOverview to phones

Tablets don't have an overview mode when an accessibility service is not
enabled. Restrict the test to phones only.

BUG=970184

Change-Id: If1d7f160203a1abc96f9cb837098f11b58d17ec5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643105Reviewed-by: default avatarBecky Zhou <huayinz@chromium.org>
Commit-Queue: Theresa <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666003}
parent b1f70c54
......@@ -24,6 +24,7 @@ import org.chromium.base.test.util.CallbackHelper;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.Restriction;
import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.base.test.util.UrlUtils;
import org.chromium.chrome.browser.ChromeSwitches;
......@@ -37,6 +38,7 @@ import org.chromium.content_public.browser.UiThreadTaskTraits;
import org.chromium.content_public.browser.test.util.Criteria;
import org.chromium.content_public.browser.test.util.CriteriaHelper;
import org.chromium.content_public.browser.test.util.TestThreadUtils;
import org.chromium.ui.test.util.UiRestriction;
import java.util.concurrent.TimeoutException;
......@@ -232,7 +234,7 @@ public class AppMenuTest {
@Test
@SmallTest
@Feature({"Browser", "Main"})
@DisabledTest(message="https://crbug.com/970184")
@Restriction(UiRestriction.RESTRICTION_TYPE_PHONE)
public void testHideMenuOnToggleOverview() throws TimeoutException, InterruptedException {
CallbackHelper overviewModeFinishedShowingCallback = new CallbackHelper();
OverviewModeBehavior.OverviewModeObserver overviewModeObserver =
......
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