For #26884: Properly disable the jumpBackIn and TCP CFRs in BookmarksTest

This commit is contained in:
Mugurell 2022-09-14 11:19:53 +03:00 committed by mergify[bot]
parent 5010aa7d0d
commit 8af2ee8aa9
1 changed files with 3 additions and 2 deletions

View File

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