1
0
Fork 0

For #11642 & #10642: Disable intermittent tests (#11724)

* for #11642: disables tests crashing

* for #10642: disables frequently failing  tests
master
Oana Horvath 2020-06-18 11:59:36 +03:00 committed by GitHub
parent d009b106dc
commit ed41c97be0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import mozilla.components.browser.storage.sync.PlacesHistoryStorage
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
@ -224,6 +225,7 @@ class HistoryTest {
}
}
@Ignore("Intermittent failures: https://github.com/mozilla-mobile/fenix/issues/10642")
@Test
fun openHistoryInPrivateTabTest() {
val firstWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
@ -244,6 +246,7 @@ class HistoryTest {
}
}
@Ignore("Intermittent failures: https://github.com/mozilla-mobile/fenix/issues/10642")
@Test
fun deleteMultipleSelectionTest() {
val firstWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)

View File

@ -95,6 +95,7 @@ class NavigationToolbarTest {
}
}
@Ignore("Intermittent failures: https://github.com/mozilla-mobile/fenix/issues/10642")
@Test
fun refreshPageTest() {
val refreshWebPage = TestAssetHelper.getRefreshAsset(mockWebServer)

View File

@ -10,6 +10,7 @@ import okhttp3.mockwebserver.MockWebServer
import org.junit.Rule
import org.junit.Before
import org.junit.After
import org.junit.Ignore
import org.junit.Test
import org.mozilla.fenix.helpers.AndroidAssetDispatcher
import org.mozilla.fenix.helpers.HomeActivityIntentTestRule
@ -69,6 +70,7 @@ class SettingsAboutTest {
}
@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test
fun verifyAboutFirefoxPreview() {
homeScreen {

View File

@ -8,6 +8,7 @@ import androidx.test.platform.app.InstrumentationRegistry
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.ext.settings
@ -156,6 +157,7 @@ class StrictEnhancedTrackingProtectionTest {
}
}
@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test
fun testStrictVisitDisableExceptionToggle() {
val trackingProtectionTest =

View File

@ -56,6 +56,7 @@ class TabbedBrowsingTest {
mockWebServer.shutdown()
}
@Ignore("Intermittent failures: https://github.com/mozilla-mobile/fenix/issues/10642")
@Test
fun openNewTabTest() {
homeScreen { }.dismissOnboarding()
@ -75,6 +76,7 @@ class TabbedBrowsingTest {
}
}
@Ignore("Intermittent failures: https://github.com/mozilla-mobile/fenix/issues/10642")
@Test
fun openNewPrivateTabTest() {
homeScreen { }.dismissOnboarding()

View File

@ -9,6 +9,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
@ -42,6 +43,7 @@ class ThreeDotMenuMainTest {
mockWebServer.shutdown()
}
@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test
fun threeDotMenuItemsTest() {
homeScreen {