|
|
|
@ -16,6 +16,7 @@ import org.junit.Ignore
|
|
|
|
|
import org.junit.Rule
|
|
|
|
|
import org.junit.Test
|
|
|
|
|
import org.mozilla.fenix.helpers.AndroidAssetDispatcher
|
|
|
|
|
import org.mozilla.fenix.helpers.Constants.POCKET_RECOMMENDED_STORIES_UTM_PARAM
|
|
|
|
|
import org.mozilla.fenix.helpers.HomeActivityTestRule
|
|
|
|
|
import org.mozilla.fenix.helpers.RetryTestRule
|
|
|
|
|
import org.mozilla.fenix.helpers.TestAssetHelper
|
|
|
|
@ -259,7 +260,6 @@ class HomeScreenTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Failed, see: https://github.com/mozilla-mobile/fenix/issues/28069")
|
|
|
|
|
@Test
|
|
|
|
|
fun openPocketStoryItemTest() {
|
|
|
|
|
activityTestRule.activityRule.applySettingsExceptions {
|
|
|
|
@ -275,7 +275,7 @@ class HomeScreenTest {
|
|
|
|
|
scrollToPocketProvokingStories()
|
|
|
|
|
firstPocketStoryPublisher = getProvokingStoryPublisher(1)
|
|
|
|
|
}.clickPocketStoryItem(firstPocketStoryPublisher, 1) {
|
|
|
|
|
verifyUrl(firstPocketStoryPublisher)
|
|
|
|
|
verifyUrl(POCKET_RECOMMENDED_STORIES_UTM_PARAM)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|