[fenix] Disable intermittent tests.

pull/600/head
Arturo Mejia 3 years ago committed by mergify[bot]
parent 8ff9adb54e
commit be0f7d9dcc

@ -13,6 +13,7 @@ import io.mockk.verifySequence
import mozilla.components.concept.engine.content.blocking.TrackingProtectionException import mozilla.components.concept.engine.content.blocking.TrackingProtectionException
import mozilla.components.feature.session.TrackingProtectionUseCases import mozilla.components.feature.session.TrackingProtectionUseCases
import org.junit.Before import org.junit.Before
import org.junit.Ignore
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.BrowserDirection import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.HomeActivity import org.mozilla.fenix.HomeActivity
@ -56,7 +57,7 @@ class TrackingProtectionExceptionsInteractorTest {
) )
} }
} }
@Ignore("See https://github.com/mozilla-mobile/fenix/issues/20796")
@Test @Test
fun onDeleteAll() { fun onDeleteAll() {
interactor.onDeleteAll() interactor.onDeleteAll()

@ -13,6 +13,7 @@ import kotlinx.coroutines.ExperimentalCoroutinesApi
import mozilla.components.browser.menu.view.MenuButton import mozilla.components.browser.menu.view.MenuButton
import org.junit.Assert import org.junit.Assert
import org.junit.Before import org.junit.Before
import org.junit.Ignore
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.ext.settings import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.utils.Settings import org.mozilla.fenix.utils.Settings
@ -45,6 +46,7 @@ class HomeFragmentTest {
Assert.assertNull(topSitesConfig.frecencyConfig) Assert.assertNull(topSitesConfig.frecencyConfig)
} }
@Ignore("See https://github.com/mozilla-mobile/fenix/issues/20795")
@Test @Test
fun `GIVEN showTopFrecentSites is true WHEN getTopSitesConfig is called THEN it returns TopSitesConfig with non-null frecencyConfig`() { fun `GIVEN showTopFrecentSites is true WHEN getTopSitesConfig is called THEN it returns TopSitesConfig with non-null frecencyConfig`() {
every { context.settings().showTopFrecentSites } returns true every { context.settings().showTopFrecentSites } returns true

@ -20,6 +20,7 @@ import mozilla.components.browser.state.store.BrowserStore
import org.junit.After import org.junit.After
import org.junit.Assert.assertEquals import org.junit.Assert.assertEquals
import org.junit.Before import org.junit.Before
import org.junit.Ignore
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.R import org.mozilla.fenix.R
@ -82,6 +83,7 @@ class ShortcutsSuggestionProviderTest {
assertEquals("Search engine settings", suggestions[2].title) assertEquals("Search engine settings", suggestions[2].title)
} }
@Ignore("See https://github.com/mozilla-mobile/fenix/issues/20797")
@Test @Test
fun `callbacks are triggered when suggestions are clicked`() = runBlockingTest { fun `callbacks are triggered when suggestions are clicked`() = runBlockingTest {
val engineOne = mockk<SearchEngine>(relaxed = true) val engineOne = mockk<SearchEngine>(relaxed = true)

@ -7,11 +7,13 @@ package org.mozilla.fenix.settings.quicksettings
import mozilla.components.support.test.mock import mozilla.components.support.test.mock
import org.junit.Assert.assertEquals import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue import org.junit.Assert.assertTrue
import org.junit.Ignore
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.settings.PhoneFeature import org.mozilla.fenix.settings.PhoneFeature
class QuickSettingsFragmentReducerTest { class QuickSettingsFragmentReducerTest {
@Ignore("See https://github.com/mozilla-mobile/fenix/issues/20792")
@Test @Test
fun `WebsitePermissionAction - TogglePermission`() { fun `WebsitePermissionAction - TogglePermission`() {
val toggleablePermission = WebsitePermission.Toggleable( val toggleablePermission = WebsitePermission.Toggleable(

Loading…
Cancel
Save