mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
For #25393 fix flaky verifyAboutFirefoxPreview UI test
This commit is contained in:
parent
2cd6e15db8
commit
fff15ea331
@ -15,6 +15,7 @@ import org.junit.Test
|
|||||||
import org.mozilla.fenix.ext.settings
|
import org.mozilla.fenix.ext.settings
|
||||||
import org.mozilla.fenix.helpers.AndroidAssetDispatcher
|
import org.mozilla.fenix.helpers.AndroidAssetDispatcher
|
||||||
import org.mozilla.fenix.helpers.HomeActivityIntentTestRule
|
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.clickRateButtonGooglePlay
|
||||||
import org.mozilla.fenix.ui.robots.homeScreen
|
import org.mozilla.fenix.ui.robots.homeScreen
|
||||||
import org.mozilla.fenix.ui.robots.mDevice
|
import org.mozilla.fenix.ui.robots.mDevice
|
||||||
@ -33,6 +34,10 @@ class SettingsAboutTest {
|
|||||||
@get:Rule
|
@get:Rule
|
||||||
val activityIntentTestRule = HomeActivityIntentTestRule()
|
val activityIntentTestRule = HomeActivityIntentTestRule()
|
||||||
|
|
||||||
|
@Rule
|
||||||
|
@JvmField
|
||||||
|
val retryTestRule = RetryTestRule(3)
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
fun setUp() {
|
fun setUp() {
|
||||||
mockWebServer = MockWebServer().apply {
|
mockWebServer = MockWebServer().apply {
|
||||||
|
Loading…
Reference in New Issue
Block a user