Skip to content

Commit 07d44a2

Browse files
committed
Fixed some tests
1 parent 049df6a commit 07d44a2

4 files changed

Lines changed: 0 additions & 12 deletions

File tree

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/ComposeScreenEnterpriseFlowTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import com.flowcrypt.email.ui.adapter.RecipientChipRecyclerViewAdapter
3030
import com.flowcrypt.email.ui.base.BaseComposeScreenTest
3131
import com.flowcrypt.email.util.TestGeneralUtil
3232
import org.hamcrest.Matchers.allOf
33-
import org.junit.Ignore
3433
import org.junit.Rule
3534
import org.junit.Test
3635
import org.junit.rules.RuleChain
@@ -56,7 +55,6 @@ class ComposeScreenEnterpriseFlowTest : BaseComposeScreenTest() {
5655
.around(ScreenshotTestRule())
5756

5857
@Test
59-
@Ignore("need to fix")
6058
fun testShowWarningIfFoundNotUsableKeySHA1() {
6159
val keyWithSHA1Algo =
6260
TestGeneralUtil.readFileFromAssetsAsByteArray("pgp/sha1@flowcrypt.test_pub.asc")

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/DraftsGmailAPITestCorrectSendingFlowTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ import okhttp3.mockwebserver.MockResponse
4343
import okhttp3.mockwebserver.RecordedRequest
4444
import org.hamcrest.Matchers.allOf
4545
import org.junit.Assert.assertEquals
46-
import org.junit.Ignore
4746
import org.junit.Rule
4847
import org.junit.Test
4948
import org.junit.rules.RuleChain
@@ -135,7 +134,6 @@ class DraftsGmailAPITestCorrectSendingFlowTest : BaseDraftsGmailAPIFlowTest() {
135134

136135
@Test
137136
@FlakyTest
138-
@Ignore("need to fix")
139137
fun testCorrectDraftsSending() {
140138
sentCache.clear()
141139
moveToDraftFolder()

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/FesDuringSetupEnterpriseFlowTest.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,12 @@ class FesDuringSetupEnterpriseFlowTest : BaseFesDuringSetupFlowTest() {
124124
}
125125

126126
@Test
127-
@Ignore("need to fix")
128127
fun testFesAvailableWrongServiceName() {
129128
setupAndClickSignInButton(genMockGoogleSignInAccountJson(email = EMAIL_FES_NOT_ALLOWED_SERVER))
130129
isDialogWithTextDisplayed(decorView, getResString(R.string.fes_server_has_wrong_settings))
131130
}
132131

133132
@Test
134-
@Ignore("need to fix")
135133
fun testFesAvailableRequestTimeOutHasConnection() {
136134
setupAndClickSignInButton(genMockGoogleSignInAccountJson(EMAIL_FES_REQUEST_TIME_OUT))
137135
isDialogWithTextDisplayed(
@@ -160,7 +158,6 @@ class FesDuringSetupEnterpriseFlowTest : BaseFesDuringSetupFlowTest() {
160158
}
161159

162160
@Test
163-
@Ignore("need to fix")
164161
fun testFesAvailableHasConnectionHttpCodeNot200() {
165162
setupAndClickSignInButton(genMockGoogleSignInAccountJson(EMAIL_FES_HTTP_NOT_404_NOT_SUCCESS))
166163
isDialogWithTextDisplayed(
@@ -198,7 +195,6 @@ class FesDuringSetupEnterpriseFlowTest : BaseFesDuringSetupFlowTest() {
198195
}
199196

200197
@Test
201-
@Ignore("need to fix")
202198
fun testFlowForPublicEmailDomainsGmail() {
203199
setupAndClickSignInButton(genMockGoogleSignInAccountJson(EMAIL_GMAIL))
204200
isDialogWithTextDisplayed(
@@ -212,7 +208,6 @@ class FesDuringSetupEnterpriseFlowTest : BaseFesDuringSetupFlowTest() {
212208
}
213209

214210
@Test
215-
@Ignore("need to fix")
216211
fun testFlowForPublicEmailDomainsGoogleMail() {
217212
setupAndClickSignInButton(genMockGoogleSignInAccountJson(EMAIL_GOOGLEMAIL))
218213
isDialogWithTextDisplayed(

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/SelectRecipientsFragmentFlowTest.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import com.flowcrypt.email.util.TestGeneralUtil
3838
import com.flowcrypt.email.viewaction.CustomViewActions.doNothing
3939
import org.hamcrest.Matchers.allOf
4040
import org.hamcrest.Matchers.not
41-
import org.junit.Ignore
4241
import org.junit.Rule
4342
import org.junit.Test
4443
import org.junit.rules.RuleChain
@@ -97,7 +96,6 @@ class SelectRecipientsFragmentFlowTest : BaseTest() {
9796
}
9897

9998
@Test
100-
@Ignore("need to fix")
10199
fun testSearchExistingContact() {
102100
onView(withId(R.id.menuSearch))
103101
.check(matches(isDisplayed()))
@@ -113,7 +111,6 @@ class SelectRecipientsFragmentFlowTest : BaseTest() {
113111
}
114112

115113
@Test
116-
@Ignore("need to fix")
117114
fun testNoResults() {
118115
onView(withId(R.id.menuSearch))
119116
.check(matches(isDisplayed()))

0 commit comments

Comments
 (0)