diff options
author | Jay Thomas Sullivan <jaysullivan@google.com> | 2023-08-17 18:47:48 -0700 |
---|---|---|
committer | Jay Sullivan <jaysullivan@google.com> | 2023-09-01 00:13:46 +0000 |
commit | cda9fa841e7b584b66ae0b0c71947cc4b1913239 (patch) | |
tree | dbebb3d68bb39547b1537f0a7b6f6188c2eb03a2 | |
parent | 7ba2cab33d6658261a332f224916fc112ecd130c (diff) | |
download | cts-android14-dev.tar.gz |
Ignore LocationProviderInterceptDialogTestandroid14-dev
The behavior behind this test has existed since Android S, but the
test test itself was added fairly recently. But, the test is failing
on some OEMs due to variation in UI.
For now, just ignore the test until we can make it more OEM compatible.
Test: atest LocationProviderInterceptDialogTest
Fix: 297303576
Fix: 296006437
Change-Id: I28d11831da718eb0c945a2a31f0668abe9beed62
Merged-In: I28d11831da718eb0c945a2a31f0668abe9beed62
Merged-In: If21937a17d3a3f2851ea0d5e135473de0e551cac
(cherry picked from commit 0d3452b212a1481747d361d78f149ae23f2e208a)
-rw-r--r-- | tests/tests/permission3/src/android/permission3/cts/LocationProviderInterceptDialogTest.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tests/permission3/src/android/permission3/cts/LocationProviderInterceptDialogTest.kt b/tests/tests/permission3/src/android/permission3/cts/LocationProviderInterceptDialogTest.kt index eaa34f90ea6..ebd5c6ad9cd 100644 --- a/tests/tests/permission3/src/android/permission3/cts/LocationProviderInterceptDialogTest.kt +++ b/tests/tests/permission3/src/android/permission3/cts/LocationProviderInterceptDialogTest.kt @@ -31,6 +31,7 @@ import java.util.concurrent.TimeUnit import org.junit.Assert import org.junit.Assume.assumeFalse import org.junit.Before +import org.junit.Ignore import org.junit.Test private const val EXTRA_PACKAGE_NAME = "android.intent.extra.PACKAGE_NAME" @@ -42,6 +43,7 @@ private const val ACTION_MANAGE_APP_PERMISSIONS = "android.intent.action.MANAGE_ * app in this test). */ @SdkSuppress(minSdkVersion = Build.VERSION_CODES.S) +@CddTest(requirement = "9.1/C-0-1") class LocationProviderInterceptDialogTest : BaseUsePermissionTest() { @Before fun setup() { @@ -57,6 +59,7 @@ class LocationProviderInterceptDialogTest : BaseUsePermissionTest() { } @Test + @Ignore("b/288471744") fun clickLocationPermission_showDialog_clickOk() { openPermissionScreenForApp() click(By.text("Location")) @@ -67,6 +70,7 @@ class LocationProviderInterceptDialogTest : BaseUsePermissionTest() { } @Test + @Ignore("b/288471744") fun clickLocationPermission_showDialog_clickLocationAccess() { openPermissionScreenForApp() click(By.text("Location")) @@ -78,6 +82,7 @@ class LocationProviderInterceptDialogTest : BaseUsePermissionTest() { } @Test + @Ignore("b/288471744") fun checkRestrictedPermissions() { context.sendBroadcast(Intent(PermissionTapjackingTest.ACTION_SHOW_OVERLAY) .putExtra("package", MIC_LOCATION_PROVIDER_APP_PACKAGE_NAME) |