From 49fce885de7d4e1d2247b6fefcb792676236d84a Mon Sep 17 00:00:00 2001 From: DenBond7 Date: Wed, 12 Jun 2024 11:34:34 +0300 Subject: [PATCH] Disabled some tests.| #2531 --- .../com/flowcrypt/email/ui/AddNewAccountEnterpriseFlowTest.kt | 2 ++ .../com/flowcrypt/email/ui/FesDuringSetupConsumerFlowTest.kt | 2 ++ .../java/com/flowcrypt/email/ui/MainSignInFragmentFlowTest.kt | 2 ++ .../java/com/flowcrypt/email/ui/SignInScreenFlowTest.kt | 2 ++ ...ubmitPublicKeyToAttesterForImportedKeyDuringSetupFlowTest.kt | 2 ++ .../login/MainSignInFragmentEnterpriseTestUseFesUrlFlowTest.kt | 2 ++ 6 files changed, 12 insertions(+) diff --git a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/AddNewAccountEnterpriseFlowTest.kt b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/AddNewAccountEnterpriseFlowTest.kt index 5c170c78ac..56813bec1a 100644 --- a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/AddNewAccountEnterpriseFlowTest.kt +++ b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/AddNewAccountEnterpriseFlowTest.kt @@ -31,6 +31,7 @@ import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.RecordedRequest import org.hamcrest.Matchers.not import org.junit.ClassRule +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.rules.RuleChain @@ -44,6 +45,7 @@ import java.net.HttpURLConnection @FlowCryptTestSettings(useIntents = true) @MediumTest @RunWith(AndroidJUnit4::class) +@Ignore("Disabled due to migration to Credential Manager. More details can be found here https://stackoverflow.com/questions/78606467/") class AddNewAccountEnterpriseFlowTest : BaseSignTest() { override val activityScenarioRule = activityScenarioRule() diff --git a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/FesDuringSetupConsumerFlowTest.kt b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/FesDuringSetupConsumerFlowTest.kt index 5600c08c30..73d4bcc0e8 100644 --- a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/FesDuringSetupConsumerFlowTest.kt +++ b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/FesDuringSetupConsumerFlowTest.kt @@ -28,6 +28,7 @@ import com.flowcrypt.email.util.exception.ApiException import com.google.gson.Gson import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.RecordedRequest +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.rules.RuleChain @@ -41,6 +42,7 @@ import java.util.concurrent.TimeUnit */ @MediumTest @RunWith(AndroidJUnit4::class) +@Ignore("Disabled due to migration to Credential Manager. More details can be found here https://stackoverflow.com/questions/78606467/") class FesDuringSetupConsumerFlowTest : BaseFesDuringSetupFlowTest() { @get:Rule diff --git a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/MainSignInFragmentFlowTest.kt b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/MainSignInFragmentFlowTest.kt index 2261f48457..db05a6e27c 100644 --- a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/MainSignInFragmentFlowTest.kt +++ b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/MainSignInFragmentFlowTest.kt @@ -50,6 +50,7 @@ import okhttp3.mockwebserver.Dispatcher import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.RecordedRequest import org.hamcrest.Matchers.not +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.rules.RuleChain @@ -64,6 +65,7 @@ import java.net.HttpURLConnection @FlowCryptTestSettings(useIntents = true) @MediumTest @RunWith(AndroidJUnit4::class) +@Ignore("Disabled due to migration to Credential Manager. More details can be found here https://stackoverflow.com/questions/78606467/") class MainSignInFragmentFlowTest : BaseSignTest() { override val activityScenarioRule = activityScenarioRule( TestGeneralUtil.genIntentForNavigationComponent( diff --git a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SignInScreenFlowTest.kt b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SignInScreenFlowTest.kt index 2bc17ee79f..df1382f8e8 100644 --- a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SignInScreenFlowTest.kt +++ b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SignInScreenFlowTest.kt @@ -25,6 +25,7 @@ import com.flowcrypt.email.rules.GrantPermissionRuleChooser import com.flowcrypt.email.rules.RetryRule import com.flowcrypt.email.rules.ScreenshotTestRule import org.hamcrest.Matchers.allOf +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.rules.RuleChain @@ -39,6 +40,7 @@ import org.junit.runner.RunWith @FlowCryptTestSettings(useIntents = true) @MediumTest @RunWith(AndroidJUnit4::class) +@Ignore("Disabled due to migration to Credential Manager. More details can be found here https://stackoverflow.com/questions/78606467/") class SignInScreenFlowTest : BaseTest() { override val activityScenarioRule = activityScenarioRule() diff --git a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SubmitPublicKeyToAttesterForImportedKeyDuringSetupFlowTest.kt b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SubmitPublicKeyToAttesterForImportedKeyDuringSetupFlowTest.kt index 2468646e36..f65a5eb1da 100644 --- a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SubmitPublicKeyToAttesterForImportedKeyDuringSetupFlowTest.kt +++ b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SubmitPublicKeyToAttesterForImportedKeyDuringSetupFlowTest.kt @@ -42,6 +42,7 @@ import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.RecordedRequest import org.junit.Before import org.junit.ClassRule +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.rules.RuleChain @@ -58,6 +59,7 @@ import java.net.HttpURLConnection @FlowCryptTestSettings(useIntents = true) @MediumTest @RunWith(AndroidJUnit4::class) +@Ignore("Disabled due to migration to Credential Manager. More details can be found here https://stackoverflow.com/questions/78606467/") class SubmitPublicKeyToAttesterForImportedKeyDuringSetupFlowTest : BaseSignTest() { override val activityScenarioRule = activityScenarioRule( TestGeneralUtil.genIntentForNavigationComponent( diff --git a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fes/login/MainSignInFragmentEnterpriseTestUseFesUrlFlowTest.kt b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fes/login/MainSignInFragmentEnterpriseTestUseFesUrlFlowTest.kt index 3ff680384a..aa1f8f6d56 100644 --- a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fes/login/MainSignInFragmentEnterpriseTestUseFesUrlFlowTest.kt +++ b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fes/login/MainSignInFragmentEnterpriseTestUseFesUrlFlowTest.kt @@ -27,6 +27,7 @@ import okhttp3.mockwebserver.Dispatcher import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.RecordedRequest import org.junit.Assert.assertEquals +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.rules.RuleChain @@ -40,6 +41,7 @@ import java.net.HttpURLConnection @FlowCryptTestSettings(useIntents = true) @MediumTest @RunWith(AndroidJUnit4::class) +@Ignore("Disabled due to migration to Credential Manager. More details can be found here https://stackoverflow.com/questions/78606467/") class MainSignInFragmentEnterpriseTestUseFesUrlFlowTest : BaseSignTest() { override val activityScenarioRule = activityScenarioRule( TestGeneralUtil.genIntentForNavigationComponent(