mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] Add ignores for intermittent toolbar tests
This commit is contained in:
parent
0bcb8cb943
commit
a5d8e40932
@ -23,6 +23,7 @@ import org.junit.After
|
||||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Assert.assertNotNull
|
||||
import org.junit.Before
|
||||
import org.junit.Ignore
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
import org.mozilla.fenix.FeatureFlags
|
||||
@ -85,6 +86,7 @@ class DefaultToolbarMenuTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("Intermittent test: https://github.com/mozilla-mobile/fenix/issues/18822")
|
||||
fun `WHEN the bottom toolbar is set THEN the first item in the list is not the navigation`() {
|
||||
if (FeatureFlags.toolbarMenuFeature) {
|
||||
every { context.settings().shouldUseBottomToolbar } returns true
|
||||
@ -101,6 +103,7 @@ class DefaultToolbarMenuTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("Intermittent test: https://github.com/mozilla-mobile/fenix/issues/18822")
|
||||
fun `WHEN the top toolbar is set THEN the first item in the list is the navigation`() {
|
||||
if (FeatureFlags.toolbarMenuFeature) {
|
||||
every { context.settings().shouldUseBottomToolbar } returns false
|
||||
@ -117,6 +120,7 @@ class DefaultToolbarMenuTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("Intermittent test: https://github.com/mozilla-mobile/fenix/issues/18822")
|
||||
fun `WHEN the bottom toolbar is set THEN the nav menu should be the last item`() {
|
||||
if (FeatureFlags.toolbarMenuFeature) {
|
||||
every { context.settings().shouldUseBottomToolbar } returns true
|
||||
@ -134,6 +138,7 @@ class DefaultToolbarMenuTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("Intermittent test: https://github.com/mozilla-mobile/fenix/issues/18822")
|
||||
fun `WHEN the top toolbar is set THEN settings should be the last item`() {
|
||||
if (FeatureFlags.toolbarMenuFeature) {
|
||||
every { context.settings().shouldUseBottomToolbar } returns false
|
||||
|
Loading…
Reference in New Issue
Block a user