[fenix] For https://github.com/mozilla-mobile/fenix/issues/18421 re-enable verifyContextCopyLink and verifyContextCopyImageLocation UI tests

pull/600/head
AndiAJ 3 years ago committed by mergify[bot]
parent 43d6e2234d
commit e62c814006

@ -12,6 +12,7 @@ import org.junit.Before
import org.junit.Ignore import org.junit.Ignore
import org.junit.Rule import org.junit.Rule
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.helpers.AndroidAssetDispatcher import org.mozilla.fenix.helpers.AndroidAssetDispatcher
import org.mozilla.fenix.helpers.HomeActivityIntentTestRule import org.mozilla.fenix.helpers.HomeActivityIntentTestRule
import org.mozilla.fenix.helpers.TestAssetHelper import org.mozilla.fenix.helpers.TestAssetHelper
@ -41,6 +42,7 @@ class ContextMenusTest {
@Before @Before
fun setUp() { fun setUp() {
activityIntentTestRule.activity.applicationContext.settings().shouldShowJumpBackInCFR = false
mockWebServer = MockWebServer().apply { mockWebServer = MockWebServer().apply {
dispatcher = AndroidAssetDispatcher() dispatcher = AndroidAssetDispatcher()
start() start()
@ -99,7 +101,6 @@ class ContextMenusTest {
} }
} }
@Ignore("Test failures: https://github.com/mozilla-mobile/fenix/issues/12473")
@Test @Test
fun verifyContextCopyLink() { fun verifyContextCopyLink() {
val pageLinks = val pageLinks =
@ -157,7 +158,6 @@ class ContextMenusTest {
} }
@Test @Test
@Ignore("Disabled Google Keyboard Clipboard overlay blocks the address bar: https://github.com/mozilla-mobile/fenix/issues/10586")
fun verifyContextCopyImageLocation() { fun verifyContextCopyImageLocation() {
val pageLinks = val pageLinks =
TestAssetHelper.getGenericAsset(mockWebServer, 4) TestAssetHelper.getGenericAsset(mockWebServer, 4)

Loading…
Cancel
Save