From 808584b75ffc6265bb31d60db36fc63e64f6cc78 Mon Sep 17 00:00:00 2001 From: Oana Horvath Date: Mon, 27 Jul 2020 12:22:18 +0300 Subject: [PATCH] For: #12894, #12899, #12968, #11239, disables failing UI tests --- app/src/androidTest/java/org/mozilla/fenix/ui/DeepLinkTest.kt | 2 ++ .../java/org/mozilla/fenix/ui/NavigationToolbarTest.kt | 1 + app/src/androidTest/java/org/mozilla/fenix/ui/SearchTest.kt | 1 + .../androidTest/java/org/mozilla/fenix/ui/SettingsBasicsTest.kt | 2 ++ app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt | 2 ++ 5 files changed, 8 insertions(+) diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/DeepLinkTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/DeepLinkTest.kt index f73a452d03..21d6fdb6a4 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/DeepLinkTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/DeepLinkTest.kt @@ -9,6 +9,7 @@ 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 @@ -124,6 +125,7 @@ class DeepLinkTest { } } + @Ignore("Crashing, see: https://github.com/mozilla-mobile/fenix/issues/11239") @Test fun openSettingsSearchEngine() { robot.openSettingsSearchEngine { diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/NavigationToolbarTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/NavigationToolbarTest.kt index 15f76597c3..65e8508608 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/NavigationToolbarTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/NavigationToolbarTest.kt @@ -66,6 +66,7 @@ class NavigationToolbarTest { } } + @Ignore("Flaky test: https://github.com/mozilla-mobile/fenix/issues/12894") @Test fun goForwardTest() { val defaultWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1) diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/SearchTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/SearchTest.kt index a57ec57c75..f06d5b623f 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/SearchTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/SearchTest.kt @@ -66,6 +66,7 @@ class SearchTest { } } + @Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/12968") @Test fun shortcutSearchEngineSettingsTest() { homeScreen { diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsBasicsTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsBasicsTest.kt index ee20a2c555..de4ddd79f7 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsBasicsTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsBasicsTest.kt @@ -60,6 +60,7 @@ class SettingsBasicsTest { } } + @Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/12968") @Test // Walks through settings menu and sub-menus to ensure all items are present fun settingsMenuBasicsItemsTests() { @@ -90,6 +91,7 @@ class SettingsBasicsTest { } } + @Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/12968") @Test fun selectNewDefaultSearchEngine() { // Goes through the settings and changes the default search engine, then verifies it has changed. diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt index 2a122ac8d4..54c5b1d95d 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt @@ -10,6 +10,7 @@ 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 @@ -216,6 +217,7 @@ class SmokeTest { } } + @Ignore("Flaky test: https://github.com/mozilla-mobile/fenix/issues/12899") @Test fun verifyETPToolbarShieldIconIsNotDisplayedIfETPIsOFFGloballyTest() { val defaultWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)