|
|
|
@ -10,6 +10,7 @@ import androidx.test.uiautomator.UiDevice
|
|
|
|
|
import okhttp3.mockwebserver.MockWebServer
|
|
|
|
|
import org.junit.After
|
|
|
|
|
import org.junit.Before
|
|
|
|
|
import org.junit.Ignore
|
|
|
|
|
import org.junit.Rule
|
|
|
|
|
import org.junit.Test
|
|
|
|
|
import org.mozilla.fenix.helpers.AndroidAssetDispatcher
|
|
|
|
@ -55,6 +56,7 @@ class HomeScreenTest {
|
|
|
|
|
mockWebServer.shutdown()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1844580")
|
|
|
|
|
@Test
|
|
|
|
|
fun homeScreenItemsTest() {
|
|
|
|
|
homeScreen {}.dismissOnboarding()
|
|
|
|
@ -139,6 +141,7 @@ class HomeScreenTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1844580")
|
|
|
|
|
@Test
|
|
|
|
|
fun verifyPocketHomepageStoriesTest() {
|
|
|
|
|
activityTestRule.activityRule.applySettingsExceptions {
|
|
|
|
@ -168,6 +171,7 @@ class HomeScreenTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1844580")
|
|
|
|
|
@Test
|
|
|
|
|
fun openPocketStoryItemTest() {
|
|
|
|
|
activityTestRule.activityRule.applySettingsExceptions {
|
|
|
|
@ -205,6 +209,7 @@ class HomeScreenTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1844580")
|
|
|
|
|
@Test
|
|
|
|
|
fun selectStoriesByTopicItemTest() {
|
|
|
|
|
activityTestRule.activityRule.applySettingsExceptions {
|
|
|
|
|