diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsAddonsTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsAddonsTest.kt index 05b3b82fc..d69b9d892 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsAddonsTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsAddonsTest.kt @@ -75,7 +75,6 @@ class SettingsAddonsTest { } } - @Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/13220") // Opens the addons settings menu, installs an addon, then uninstalls @Test fun verifyAddonsCanBeUninstalled() { diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuAddonsManagerAddonDetailedMenuRobot.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuAddonsManagerAddonDetailedMenuRobot.kt index 93ca6f939..499861c30 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuAddonsManagerAddonDetailedMenuRobot.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuAddonsManagerAddonDetailedMenuRobot.kt @@ -2,8 +2,9 @@ package org.mozilla.fenix.ui.robots import androidx.test.espresso.Espresso.onView import androidx.test.espresso.assertion.ViewAssertions.matches -import androidx.test.espresso.matcher.ViewMatchers.isCompletelyDisplayed +import androidx.test.espresso.matcher.ViewMatchers import androidx.test.espresso.matcher.ViewMatchers.withContentDescription +import androidx.test.espresso.matcher.ViewMatchers.withEffectiveVisibility import androidx.test.espresso.matcher.ViewMatchers.withId import org.hamcrest.CoreMatchers.allOf import org.mozilla.fenix.R @@ -35,11 +36,11 @@ class SettingsSubMenuAddonsManagerAddonDetailedMenuRobot { } private fun assertAddonMenuItems() { - enableSwitchButton().check(matches(isCompletelyDisplayed())) - settingsButton().check(matches(isCompletelyDisplayed())) - detailsButton().check(matches(isCompletelyDisplayed())) - permissionsButton().check(matches(isCompletelyDisplayed())) - removeAddonButton().check(matches(isCompletelyDisplayed())) + enableSwitchButton().check(matches(withEffectiveVisibility(ViewMatchers.Visibility.VISIBLE))) + settingsButton().check(matches(withEffectiveVisibility(ViewMatchers.Visibility.VISIBLE))) + detailsButton().check(matches(withEffectiveVisibility(ViewMatchers.Visibility.VISIBLE))) + permissionsButton().check(matches(withEffectiveVisibility(ViewMatchers.Visibility.VISIBLE))) + removeAddonButton().check(matches(withEffectiveVisibility(ViewMatchers.Visibility.VISIBLE))) } }