2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Disable intermittent tests.

This commit is contained in:
Arturo Mejia 2021-08-11 14:09:18 -04:00 committed by mergify[bot]
parent 8ff9adb54e
commit be0f7d9dcc
4 changed files with 8 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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