Fixes #11642 - Re-enable disabled UI-tests (#12142)

releases/v79.1.0
Richard Pappalardo 4 years ago committed by GitHub
parent ba55243ed8
commit 11aea321ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -422,7 +422,7 @@ class BookmarksTest {
} }
@Test @Test
fun multipleBookmarkDeletions() { fun multipleBookmarkDeletionsTest() {
homeScreen { homeScreen {
}.openThreeDotMenu { }.openThreeDotMenu {
}.openBookmarks { }.openBookmarks {
@ -527,7 +527,7 @@ class BookmarksTest {
} }
@Test @Test
fun verifyCloseMenu() { fun verifyCloseMenuTest() {
homeScreen { homeScreen {
}.openThreeDotMenu { }.openThreeDotMenu {
}.openBookmarks { }.openBookmarks {

@ -11,7 +11,6 @@ import org.mozilla.fenix.helpers.HomeActivityTestRule
import androidx.test.platform.app.InstrumentationRegistry import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.By import androidx.test.uiautomator.By
import androidx.test.uiautomator.Until import androidx.test.uiautomator.Until
import org.junit.Ignore
import org.mozilla.fenix.helpers.ext.waitNotNull import org.mozilla.fenix.helpers.ext.waitNotNull
import org.mozilla.fenix.helpers.TestAssetHelper.waitingTime import org.mozilla.fenix.helpers.TestAssetHelper.waitingTime
import org.mozilla.fenix.ui.robots.PRIVATE_SESSION_MESSAGE import org.mozilla.fenix.ui.robots.PRIVATE_SESSION_MESSAGE
@ -117,7 +116,6 @@ class HomeScreenTest {
} }
} }
@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test @Test
fun privateModeScreenItemsTest() { fun privateModeScreenItemsTest() {
homeScreen { }.dismissOnboarding() homeScreen { }.dismissOnboarding()

@ -10,7 +10,6 @@ import okhttp3.mockwebserver.MockWebServer
import org.junit.Rule import org.junit.Rule
import org.junit.Before import org.junit.Before
import org.junit.After import org.junit.After
import org.junit.Ignore
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.helpers.AndroidAssetDispatcher import org.mozilla.fenix.helpers.AndroidAssetDispatcher
import org.mozilla.fenix.helpers.HomeActivityIntentTestRule import org.mozilla.fenix.helpers.HomeActivityIntentTestRule
@ -70,7 +69,6 @@ class SettingsAboutTest {
} }
@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test @Test
fun verifyAboutFirefoxPreview() { fun verifyAboutFirefoxPreview() {
homeScreen { homeScreen {

@ -9,7 +9,6 @@ import androidx.test.uiautomator.UiDevice
import okhttp3.mockwebserver.MockWebServer import okhttp3.mockwebserver.MockWebServer
import org.junit.After import org.junit.After
import org.junit.Before import org.junit.Before
import org.junit.Ignore
import org.junit.Rule import org.junit.Rule
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.helpers.AndroidAssetDispatcher import org.mozilla.fenix.helpers.AndroidAssetDispatcher
@ -23,7 +22,6 @@ import org.mozilla.fenix.ui.robots.navigationToolbar
* These tests will verify different functionalities of the app as a way to quickly detect regressions in main areas * These tests will verify different functionalities of the app as a way to quickly detect regressions in main areas
*/ */
@Ignore("Temp disable for triggering a native Gecko crash - https://github.com/mozilla-mobile/fenix/issues/11642")
class SmokeTest { class SmokeTest {
private val mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) private val mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
private lateinit var mockWebServer: MockWebServer private lateinit var mockWebServer: MockWebServer

@ -8,7 +8,6 @@ import androidx.test.platform.app.InstrumentationRegistry
import okhttp3.mockwebserver.MockWebServer import okhttp3.mockwebserver.MockWebServer
import org.junit.After import org.junit.After
import org.junit.Before import org.junit.Before
import org.junit.Ignore
import org.junit.Rule import org.junit.Rule
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.ext.settings import org.mozilla.fenix.ext.settings
@ -157,7 +156,6 @@ class StrictEnhancedTrackingProtectionTest {
} }
} }
@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test @Test
fun testStrictVisitDisableExceptionToggle() { fun testStrictVisitDisableExceptionToggle() {
val trackingProtectionTest = val trackingProtectionTest =

@ -10,7 +10,6 @@ import okhttp3.mockwebserver.MockWebServer
import org.junit.After import org.junit.After
import org.junit.Before import org.junit.Before
import org.junit.BeforeClass import org.junit.BeforeClass
import org.junit.Ignore
import org.junit.Rule import org.junit.Rule
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.helpers.AndroidAssetDispatcher import org.mozilla.fenix.helpers.AndroidAssetDispatcher
@ -53,7 +52,6 @@ class ThreeDotMenuMainTest {
mockWebServer.shutdown() mockWebServer.shutdown()
} }
@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test @Test
fun threeDotMenuItemsTest() { fun threeDotMenuItemsTest() {
homeScreen { homeScreen {

Loading…
Cancel
Save