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

* for #11642: disables tests crashing

* for #10642: disables frequently failing  tests
fennec/production
Oana Horvath 4 years ago committed by GitHub
parent d009b106dc
commit ed41c97be0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

@ -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)

@ -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 {

@ -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 =

@ -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()

@ -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 {

Loading…
Cancel
Save