|
|
|
@ -18,7 +18,6 @@ import org.junit.Rule
|
|
|
|
|
import org.junit.Test
|
|
|
|
|
import org.mozilla.fenix.R
|
|
|
|
|
import org.mozilla.fenix.customannotations.SmokeTest
|
|
|
|
|
import org.mozilla.fenix.ext.settings
|
|
|
|
|
import org.mozilla.fenix.helpers.AndroidAssetDispatcher
|
|
|
|
|
import org.mozilla.fenix.helpers.FeatureSettingsHelper
|
|
|
|
|
import org.mozilla.fenix.helpers.HomeActivityIntentTestRule
|
|
|
|
@ -239,8 +238,6 @@ class SettingsPrivacyTest {
|
|
|
|
|
@Test
|
|
|
|
|
fun neverSaveLoginFromPromptTest() {
|
|
|
|
|
val saveLoginTest = TestAssetHelper.getSaveLoginAsset(mockWebServer)
|
|
|
|
|
val settings = activityTestRule.activity.settings()
|
|
|
|
|
settings.shouldShowJumpBackInCFR = false
|
|
|
|
|
|
|
|
|
|
navigationToolbar {
|
|
|
|
|
}.enterURLAndEnterToBrowser(saveLoginTest.url) {
|
|
|
|
@ -395,8 +392,6 @@ class SettingsPrivacyTest {
|
|
|
|
|
@Ignore("Failing with frequent ANR: https://bugzilla.mozilla.org/show_bug.cgi?id=1764605")
|
|
|
|
|
@Test
|
|
|
|
|
fun launchLinksInPrivateToggleOffStateDoesntChangeTest() {
|
|
|
|
|
val settings = activityTestRule.activity.applicationContext.settings()
|
|
|
|
|
settings.shouldShowJumpBackInCFR = false
|
|
|
|
|
val defaultWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
|
|
|
|
|
|
|
|
|
|
setOpenLinksInPrivateOn()
|
|
|
|
|