1
0
Fork 0

Disable failing tests from #10587 and #10586 (#10620)

master
Oana Horvath 2020-05-13 15:02:18 +03:00 committed by GitHub
parent 8c0dc7ff19
commit 3a94d64d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import androidx.test.uiautomator.Until
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
@ -79,6 +80,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
// open a webpage, and add currently opened tab to existing collection
fun addTabToExistingCollectionTest() {
@ -105,6 +107,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun collectionMenuAddTabButtonTest() {
val secondWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 2)
@ -126,6 +129,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun collectionMenuOpenAllTabsTest() {
val firstWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
@ -141,6 +145,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun renameCollectionTest() {
createCollection(firstCollectionName)
@ -155,6 +160,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun deleteCollectionTest() {
createCollection(firstCollectionName)
@ -168,6 +174,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun createCollectionFromTabTest() {
val firstWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
@ -184,6 +191,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun verifyExpandedCollectionItemsTest() {
val firstWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
@ -208,6 +216,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun shareCollectionTest() {
createCollection(firstCollectionName)
@ -218,6 +227,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun removeTabFromCollectionTest() {
val webPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
@ -274,6 +284,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun tabsOverflowMenuSaveCollectionTest() {
val firstWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
@ -302,6 +313,7 @@ class CollectionTest {
}
}
@Ignore("Intermittent failures, see: https://github.com/mozilla-mobile/fenix/issues/10587")
@Test
fun navigateBackInCollectionFlowTest() {
val secondWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 2)

View File

@ -76,6 +76,7 @@ class ContextMenusTest {
}
}
@Ignore("Intermittent failure - https://github.com/mozilla-mobile/fenix/issues/10586")
@Test
fun verifyContextOpenLinkPrivateTab() {
val pageLinks =
@ -119,6 +120,7 @@ class ContextMenusTest {
}
}
@Ignore("Intermittent failure - https://github.com/mozilla-mobile/fenix/issues/10586")
@Test
fun verifyContextShareLink() {
val pageLinks =