Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #25393 fix flaky verifyAboutFirefoxPreview UI test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiAJ authored and mergify[bot] committed Jun 6, 2022
1 parent 2cd6e15 commit fff15ea
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -33,6 +34,10 @@ class SettingsAboutTest {
@get:Rule
val activityIntentTestRule = HomeActivityIntentTestRule()

@Rule
@JvmField
val retryTestRule = RetryTestRule(3)

@Before
fun setUp() {
mockWebServer = MockWebServer().apply {
Expand Down

0 comments on commit fff15ea

Please sign in to comment.