Merge "Add delay after installing dummy app" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-11-03 17:17:09 +00:00
committed by Android (Google) Code Review

View File

@@ -29,6 +29,7 @@ import static org.junit.Assume.assumeTrue;
import android.content.Intent;
import android.graphics.Point;
import android.os.SystemClock;
import android.platform.test.annotations.IwTest;
import androidx.test.filters.LargeTest;
@@ -493,6 +494,8 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
public void testUninstallFromAllApps() throws Exception {
TestUtil.installDummyApp();
try {
// b/256659409
SystemClock.sleep(5000);
Workspace workspace = mLauncher.getWorkspace();
final HomeAllApps allApps = workspace.switchToAllApps();
allApps.freeze();