From e62c81400698a110232a36008c6fb29a576c2a07 Mon Sep 17 00:00:00 2001 From: AndiAJ Date: Thu, 28 Oct 2021 11:09:49 +0300 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/18421 re-enable verifyContextCopyLink and verifyContextCopyImageLocation UI tests --- .../androidTest/java/org/mozilla/fenix/ui/ContextMenusTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/ContextMenusTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/ContextMenusTest.kt index 0549c23658..923bd08d65 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/ContextMenusTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/ContextMenusTest.kt @@ -12,6 +12,7 @@ import org.junit.Before import org.junit.Ignore import org.junit.Rule import org.junit.Test +import org.mozilla.fenix.ext.settings import org.mozilla.fenix.helpers.AndroidAssetDispatcher import org.mozilla.fenix.helpers.HomeActivityIntentTestRule import org.mozilla.fenix.helpers.TestAssetHelper @@ -41,6 +42,7 @@ class ContextMenusTest { @Before fun setUp() { + activityIntentTestRule.activity.applicationContext.settings().shouldShowJumpBackInCFR = false mockWebServer = MockWebServer().apply { dispatcher = AndroidAssetDispatcher() start() @@ -99,7 +101,6 @@ class ContextMenusTest { } } - @Ignore("Test failures: https://github.com/mozilla-mobile/fenix/issues/12473") @Test fun verifyContextCopyLink() { val pageLinks = @@ -157,7 +158,6 @@ class ContextMenusTest { } @Test - @Ignore("Disabled – Google Keyboard Clipboard overlay blocks the address bar: https://github.com/mozilla-mobile/fenix/issues/10586") fun verifyContextCopyImageLocation() { val pageLinks = TestAssetHelper.getGenericAsset(mockWebServer, 4)