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

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

Merged
merged 1 commit into from
Jul 1, 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
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ class BookmarksTest {
}

@Test
fun multipleBookmarkDeletions() {
fun multipleBookmarkDeletionsTest() {
homeScreen {
}.openThreeDotMenu {
}.openBookmarks {
Expand Down Expand Up @@ -527,7 +527,7 @@ class BookmarksTest {
}

@Test
fun verifyCloseMenu() {
fun verifyCloseMenuTest() {
homeScreen {
}.openThreeDotMenu {
}.openBookmarks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import org.mozilla.fenix.helpers.HomeActivityTestRule
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.By
import androidx.test.uiautomator.Until
import org.junit.Ignore
import org.mozilla.fenix.helpers.ext.waitNotNull
import org.mozilla.fenix.helpers.TestAssetHelper.waitingTime
import org.mozilla.fenix.ui.robots.PRIVATE_SESSION_MESSAGE
Expand Down Expand Up @@ -117,7 +116,6 @@ class HomeScreenTest {
}
}

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

}

@Ignore("Instrumentation crash: https://github.com/mozilla-mobile/fenix/issues/11642")
@Test
fun verifyAboutFirefoxPreview() {
homeScreen {
Expand Down
2 changes: 0 additions & 2 deletions app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ 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 All @@ -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
*/

@Ignore("Temp disable for triggering a native Gecko crash - https://github.com/mozilla-mobile/fenix/issues/11642")
class SmokeTest {
private val mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
private lateinit var mockWebServer: MockWebServer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ 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 @@ -157,7 +156,6 @@ 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 @@ -10,7 +10,6 @@ import okhttp3.mockwebserver.MockWebServer
import org.junit.After
import org.junit.Before
import org.junit.BeforeClass
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.mozilla.fenix.helpers.AndroidAssetDispatcher
Expand Down Expand Up @@ -53,7 +52,6 @@ class ThreeDotMenuMainTest {
mockWebServer.shutdown()
}

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