From 38d395be3ebb846ea33f5cb18a2b280b756117d7 Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Fri, 5 Jan 2024 19:02:30 -0800 Subject: [PATCH] Removing dependency of All Apps test from 1P apps Test: presubmit Flag: N/A Bug: 187761685 Change-Id: I8b3894a383416cea08c56c8874e6974323ffdc3a --- tests/AndroidManifest-common.xml | 18 ++++++++++++++++++ .../allapps/TaplOpenCloseAllAppsTest.java | 8 ++++---- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/tests/AndroidManifest-common.xml b/tests/AndroidManifest-common.xml index bd9da0ad4d..20757c666c 100644 --- a/tests/AndroidManifest-common.xml +++ b/tests/AndroidManifest-common.xml @@ -343,6 +343,24 @@ + + + + + + + + + + + + assertTrue("flingBackward() didn't scroll App Apps", flingBackwardY < flingForwardY)); - // Test scrolling down to YouTube. - assertNotNull("All apps: can't find YouTube", allApps.getAppIcon("YouTube")); - // Test scrolling up to Camera. - assertNotNull("All apps: can't find Camera", allApps.getAppIcon("Camera")); + // Test scrolling down to the end of the app list. + assertNotNull("All apps: can't find YouTube", allApps.getAppIcon("ZZZ")); + // Test scrolling up to the beginning oof the app list. + assertNotNull("All apps: can't find Camera", allApps.getAppIcon("AAA")); // Test failing to find a non-existing app. final AllApps allAppsFinal = allApps; expectFail("All apps: could find a non-existing app",