Commit a43e8a57 authored by Xi Han's avatar Xi Han Committed by Commit Bot

[Start] Enables testShow_SingleAsHomepage_BottomSheet without Instant

Start.

Bug: 1150937
Change-Id: Ief46f56a25ec90a35a84aa15c0c2a04f4d67d203
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551795Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Xi Han <hanxi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#829638}
parent 7d25f813
......@@ -1392,7 +1392,6 @@ public class StartSurfaceTest {
@Feature({"StartSurface"})
// clang-format off
@CommandLineFlags.Add({BASE_PARAMS + "/single"})
@DisableIf.Build(sdk_is_less_than = P, message = "https://crbug.com/1150937")
public void testShow_SingleAsHomepage_BottomSheet() {
// clang-format on
if (!mImmediateReturn) {
......@@ -1408,6 +1407,11 @@ public class StartSurfaceTest {
TabUiTestHelper.verifyTabModelTabCount(cta, 1, 0);
assertFalse(bottomSheetTestSupport.hasSuppressionTokens());
if (isInstantReturn()) {
// TODO(crbug.com/1076274): fix toolbar to avoid wrongly focusing on the toolbar
// omnibox.
return;
}
onView(withId(org.chromium.chrome.tab_ui.R.id.tab_list_view))
.perform(RecyclerViewActions.actionOnItemAtPosition(0, click()));
assertFalse(bottomSheetTestSupport.hasSuppressionTokens());
......
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