From ff9ad247903b4053213b147cc99aa041c0c20d13 Mon Sep 17 00:00:00 2001 From: Oana Horvath Date: Thu, 7 Sep 2023 16:28:34 +0300 Subject: [PATCH] Bug 1815395 - Disable failing audio-video permissions UI tests (#3512) Co-authored-by: oana.horvath Co-authored-by: Donal Meehan <76789979+DonalMe@users.noreply.github.com> --- .../org/mozilla/fenix/ui/SettingsSitePermissionsTest.kt | 1 + .../java/org/mozilla/fenix/ui/SitePermissionsTest.kt | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsSitePermissionsTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsSitePermissionsTest.kt index 4748eae1b1..d73d92b6df 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsSitePermissionsTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsSitePermissionsTest.kt @@ -416,6 +416,7 @@ class SettingsSitePermissionsTest { } } + @Ignore("Flaky, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1829889") @Test fun verifyDRMControlledContentPermissionSettingsTest() { navigationToolbar { diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/SitePermissionsTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/SitePermissionsTest.kt index 8865c2910b..e51f08da37 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/SitePermissionsTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/SitePermissionsTest.kt @@ -15,6 +15,7 @@ import okhttp3.mockwebserver.MockWebServer import org.junit.After import org.junit.Assume.assumeTrue import org.junit.Before +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.mozilla.fenix.customannotations.SmokeTest @@ -95,6 +96,7 @@ class SitePermissionsTest { } } + @Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1815395") @SmokeTest @Test fun rememberBlockAudioVideoPermissionChoiceTest() { @@ -118,6 +120,7 @@ class SitePermissionsTest { } } + @Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1815395") @SmokeTest @Test fun rememberAllowAudioVideoPermissionChoiceTest() { @@ -158,6 +161,7 @@ class SitePermissionsTest { } } + @Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1815395") @Test fun rememberBlockMicrophonePermissionChoiceTest() { assumeTrue(micManager.microphones.isNotEmpty()) @@ -179,6 +183,7 @@ class SitePermissionsTest { } } + @Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1815395") @Test fun rememberAllowMicrophonePermissionChoiceTest() { assumeTrue(micManager.microphones.isNotEmpty()) @@ -217,6 +222,7 @@ class SitePermissionsTest { } } + @Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1815395") @Test fun rememberBlockCameraPermissionChoiceTest() { assumeTrue(cameraManager.cameraIdList.isNotEmpty()) @@ -238,6 +244,7 @@ class SitePermissionsTest { } } + @Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1815395") @Test fun rememberAllowCameraPermissionChoiceTest() { assumeTrue(cameraManager.cameraIdList.isNotEmpty())