|
|
|
@ -14,6 +14,7 @@ import org.junit.Test
|
|
|
|
|
import org.mozilla.fenix.customannotations.SmokeTest
|
|
|
|
|
import org.mozilla.fenix.ext.settings
|
|
|
|
|
import org.mozilla.fenix.helpers.HomeActivityTestRule
|
|
|
|
|
import org.mozilla.fenix.helpers.RetryTestRule
|
|
|
|
|
import org.mozilla.fenix.helpers.TestAssetHelper.waitingTime
|
|
|
|
|
import org.mozilla.fenix.helpers.ext.waitNotNull
|
|
|
|
|
import org.mozilla.fenix.ui.robots.homeScreen
|
|
|
|
@ -33,6 +34,10 @@ class HomeScreenTest {
|
|
|
|
|
@get:Rule
|
|
|
|
|
val activityTestRule = HomeActivityTestRule()
|
|
|
|
|
|
|
|
|
|
@Rule
|
|
|
|
|
@JvmField
|
|
|
|
|
val retryTestRule = RetryTestRule(3)
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
fun homeScreenItemsTest() {
|
|
|
|
|
homeScreen { }.dismissOnboarding()
|
|
|
|
@ -93,7 +98,6 @@ class HomeScreenTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/24436")
|
|
|
|
|
@Test
|
|
|
|
|
fun dismissOnboardingUsingSettingsTest() {
|
|
|
|
|
homeScreen {
|
|
|
|
@ -106,7 +110,6 @@ class HomeScreenTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/24436")
|
|
|
|
|
@Test
|
|
|
|
|
fun dismissOnboardingUsingBookmarksTest() {
|
|
|
|
|
homeScreen {
|
|
|
|
@ -121,7 +124,6 @@ class HomeScreenTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/24436")
|
|
|
|
|
@Test
|
|
|
|
|
fun dismissOnboardingUsingHelpTest() {
|
|
|
|
|
val settings = activityTestRule.activity.applicationContext.settings()
|
|
|
|
@ -136,7 +138,6 @@ class HomeScreenTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/24436")
|
|
|
|
|
@Test
|
|
|
|
|
fun toolbarTapDoesntDismissOnboardingTest() {
|
|
|
|
|
homeScreen {
|
|
|
|
|