|
|
|
@ -9,7 +9,6 @@ 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
|
|
|
|
@ -166,7 +165,6 @@ class CollectionTest {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
@Ignore("To be fixed in https://github.com/mozilla-mobile/fenix/issues/20702")
|
|
|
|
|
fun swipeToRemoveTabFromCollectionTest() {
|
|
|
|
|
val firstWebPage = getGenericAsset(mockWebServer, 1)
|
|
|
|
|
val secondWebPage = getGenericAsset(mockWebServer, 2)
|
|
|
|
@ -184,10 +182,13 @@ class CollectionTest {
|
|
|
|
|
}.openThreeDotMenu {
|
|
|
|
|
}.openSaveToCollection {
|
|
|
|
|
}.selectExistingCollection(firstCollectionName) {
|
|
|
|
|
}.goToHomescreen {}
|
|
|
|
|
}.openTabDrawer {
|
|
|
|
|
closeTab()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
homeScreen {
|
|
|
|
|
}.expandCollection(firstCollectionName) {
|
|
|
|
|
swipeToBottom()
|
|
|
|
|
swipeCollectionItemLeft(firstWebPage.title)
|
|
|
|
|
verifyTabSavedInCollection(firstWebPage.title, false)
|
|
|
|
|
swipeCollectionItemRight(secondWebPage.title)
|
|
|
|
|