[fenix] For https://github.com/mozilla-mobile/fenix/issues/26884: Properly disable the jumpBackIn and TCP CFRs in BookmarksTest

pull/600/head
Mugurell 2 years ago committed by mergify[bot]
parent 1800ca13b5
commit cc76d31557

@ -51,6 +51,7 @@ class BookmarksTest {
@get:Rule @get:Rule
val activityTestRule = HomeActivityTestRule() val activityTestRule = HomeActivityTestRule()
private val featureSettingsHelper = activityTestRule.featureSettingsHelper
@Rule @Rule
@JvmField @JvmField
@ -63,8 +64,8 @@ class BookmarksTest {
dispatcher = AndroidAssetDispatcher() dispatcher = AndroidAssetDispatcher()
start() start()
} }
val settings = activityTestRule.activity.settings() featureSettingsHelper.setJumpBackCFREnabled(false)
settings.shouldShowJumpBackInCFR = false featureSettingsHelper.setTCPCFREnabled(false)
} }
@After @After

Loading…
Cancel
Save