Skip to content

Commit 4ad48d2

Browse files
authored
fixed PasswordProtectedEncryptedComposeGmailApiFlow (#3185)
1 parent e703bb5 commit 4ad48d2

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/gmailapi/PasswordProtectedEncryptedComposeGmailApiFlow.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ package com.flowcrypt.email.ui.gmailapi
88
import androidx.test.espresso.Espresso.onView
99
import androidx.test.espresso.Espresso.openActionBarOverflowOrOptionsMenu
1010
import androidx.test.espresso.action.ViewActions.click
11-
import androidx.test.espresso.action.ViewActions.closeSoftKeyboard
1211
import androidx.test.espresso.action.ViewActions.replaceText
1312
import androidx.test.espresso.assertion.ViewAssertions.matches
1413
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
@@ -58,7 +57,6 @@ import org.junit.Assert.assertFalse
5857
import org.junit.Assert.assertNotNull
5958
import org.junit.Assert.assertNull
6059
import org.junit.Assert.assertTrue
61-
import org.junit.Ignore
6260
import org.junit.Rule
6361
import org.junit.Test
6462
import org.junit.rules.RuleChain
@@ -161,7 +159,6 @@ class PasswordProtectedEncryptedComposeGmailApiFlow : BaseComposeGmailFlow() {
161159

162160
@Test
163161
@FlakyTest
164-
@Ignore("need to fix")
165162
fun testSendPasswordProtectedMessageWithFewAttachments() {
166163
isRequestToMessageAPITested = false
167164

@@ -181,10 +178,7 @@ class PasswordProtectedEncryptedComposeGmailApiFlow : BaseComposeGmailFlow() {
181178
.check(matches(isDisplayed()))
182179
.perform(click())
183180
onView(withId(R.id.eTPassphrase))
184-
.perform(
185-
replaceText(WEB_PORTAL_PASSWORD),
186-
closeSoftKeyboard()
187-
)
181+
.perform(replaceText(WEB_PORTAL_PASSWORD))
188182
onView(withId(R.id.btSetPassword))
189183
.perform(click())
190184

0 commit comments

Comments
 (0)