mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Merge "Waiting for Split Select state after tapping split menu item" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
6a8a4ba0b8
@@ -17,6 +17,7 @@
|
||||
package com.android.launcher3.tapl;
|
||||
|
||||
import static com.android.launcher3.testing.shared.TestProtocol.OVERVIEW_MODAL_TASK_STATE_ORDINAL;
|
||||
import static com.android.launcher3.testing.shared.TestProtocol.OVERVIEW_SPLIT_SELECT_ORDINAL;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.test.uiautomator.By;
|
||||
@@ -42,8 +43,11 @@ public class OverviewTaskMenu {
|
||||
try (LauncherInstrumentation.Closable e = mLauncher.eventsCheck();
|
||||
LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
|
||||
"tap split menu item")) {
|
||||
mLauncher.clickLauncherObject(
|
||||
mLauncher.findObjectInContainer(mMenu, By.textStartsWith("Split")));
|
||||
mLauncher.runToState(() -> mLauncher.clickLauncherObject(
|
||||
mLauncher.findObjectInContainer(mMenu, By.textStartsWith("Split"))),
|
||||
OVERVIEW_SPLIT_SELECT_ORDINAL,
|
||||
"tapping split menu item"
|
||||
);
|
||||
|
||||
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer(
|
||||
"tapped split menu item")) {
|
||||
|
||||
Reference in New Issue
Block a user