Disabling AppPredictionsUITests
Also I recommend not using TAPL here, but follow this:
https://docs.google.com/presentation/d/1jyS_AIqevT22mk3SpfFS6paW98QLoJ_Fu7DgpXIgZ2g/edit#slide=id.g3f7630d0d8_0_9
https://docs.google.com/presentation/d/1jyS_AIqevT22mk3SpfFS6paW98QLoJ_Fu7DgpXIgZ2g/edit#slide=id.g435cf3d76d_1_113
Bug: 131188880
Change-Id: Ib01197acbe3ea68e27f121b1c6d8304bbff9696f
diff --git a/quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java b/quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java
index 43f6039..72de80b 100644
--- a/quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java
+++ b/quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java
@@ -37,6 +37,7 @@
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -49,7 +50,6 @@
@LargeTest
@RunWith(AndroidJUnit4.class)
public class AppPredictionsUITests extends AbstractQuickStepTest {
- private static final int DEFAULT_APP_LAUNCH_TIMES = 3;
private static final String TAG = "AppPredictionsUITests";
private LauncherActivityInfo mSampleApp1;
@@ -86,6 +86,7 @@
* Test that prediction UI is updated as soon as we get predictions from the system
*/
@Test
+ @Ignore // b/131188880
public void testPredictionExistsInAllApps() {
mActivityMonitor.startLauncher();
mLauncher.pressHome().switchToAllApps();
@@ -106,6 +107,7 @@
* Test tat prediction update is deferred if it is already visible
*/
@Test
+ @Ignore // b/131188880
public void testPredictionsDeferredUntilHome() {
mActivityMonitor.startLauncher();
sendPredictionUpdate(mSampleApp1, mSampleApp2);