Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

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

Merged
merged 2 commits into from
Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/src/androidTest/java/org/mozilla/fenix/ui/HistoryTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -69,6 +70,7 @@ class SettingsAboutTest {

}

@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test
fun verifyAboutFirefoxPreview() {
homeScreen {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -156,6 +157,7 @@ class StrictEnhancedTrackingProtectionTest {
}
}

@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test
fun testStrictVisitDisableExceptionToggle() {
val trackingProtectionTest =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class TabbedBrowsingTest {
mockWebServer.shutdown()
}

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

@Ignore("Intermittent failures: https://github.com/mozilla-mobile/fenix/issues/10642")
@Test
fun openNewPrivateTabTest() {
homeScreen { }.dismissOnboarding()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -42,6 +43,7 @@ class ThreeDotMenuMainTest {
mockWebServer.shutdown()
}

@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test
fun threeDotMenuItemsTest() {
homeScreen {
Expand Down