For #25393 fix flaky verifyAboutFirefoxPreview UI test

This commit is contained in:
AndiAJ 2022-06-03 13:11:43 +03:00 committed by mergify[bot]
parent 2cd6e15db8
commit fff15ea331

View File

@ -15,6 +15,7 @@ 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.RetryTestRule
import org.mozilla.fenix.ui.robots.clickRateButtonGooglePlay
import org.mozilla.fenix.ui.robots.homeScreen
import org.mozilla.fenix.ui.robots.mDevice
@ -33,6 +34,10 @@ class SettingsAboutTest {
@get:Rule
val activityIntentTestRule = HomeActivityIntentTestRule()
@Rule
@JvmField
val retryTestRule = RetryTestRule(3)
@Before
fun setUp() {
mockWebServer = MockWebServer().apply {