Commit 07bb6265 authored by Xi Han's avatar Xi Han Committed by Commit Bot

[Instant Start] Disable StartSurfaceTest#testShow_SingleAsTabSwitcher_V2__Instant_Return

Bug: 1132948, 1076274
Change-Id: Ib0047b913bd7a844f7a59b36d6e4e40b097f4a5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2443543Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Xi Han <hanxi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812952}
parent 2ea93168
...@@ -753,9 +753,16 @@ public class StartSurfaceTest { ...@@ -753,9 +753,16 @@ public class StartSurfaceTest {
&& mActivityTestRule.getActivity() && mActivityTestRule.getActivity()
.getLayoutManager() .getLayoutManager()
.overviewVisible()); .overviewVisible());
waitForTabModel();
// Single surface is shown as homepage. Exit in order to get into tab switcher later. // Single surface is shown as homepage. Exit in order to get into tab switcher later.
pressBack(); pressBack();
} }
if (isInstantReturn()) {
// TODO(crbug.com/1076274): fix toolbar to avoid wrongly focusing on the toolbar
// omnibox.
return;
}
TabUiTestHelper.enterTabSwitcher(mActivityTestRule.getActivity()); TabUiTestHelper.enterTabSwitcher(mActivityTestRule.getActivity());
waitForView(withId(R.id.primary_tasks_surface_view), VIEW_GONE); waitForView(withId(R.id.primary_tasks_surface_view), VIEW_GONE);
assertThat(mActivityTestRule.getActivity().getLayoutManager().getOverviewLayout(), assertThat(mActivityTestRule.getActivity().getLayoutManager().getOverviewLayout(),
......
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