Skip to content

Commit 453287f

Browse files
authored
Enabled AttachmentDownloadingWithRestrictionFlowTest.| #3036 (#3037)
1 parent 520bae8 commit 453287f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import okhttp3.mockwebserver.MockResponse
4646
import okhttp3.mockwebserver.RecordedRequest
4747
import org.junit.Rule
4848
import org.junit.Test
49-
import org.junit.Ignore
5049
import org.junit.rules.RuleChain
5150
import org.junit.rules.TestRule
5251
import org.junit.runner.RunWith
@@ -165,7 +164,6 @@ class AttachmentDownloadingWithRestrictionFlowTest : BaseMessageDetailsFlowTest(
165164
.around(ScreenshotTestRule())
166165

167166
@Test
168-
@Ignore("will be fixed in https://github.com/FlowCrypt/flowcrypt-android/issues/2914")
169167
fun testDownloadingAttachment() {
170168
val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
171169

@@ -215,7 +213,7 @@ class AttachmentDownloadingWithRestrictionFlowTest : BaseMessageDetailsFlowTest(
215213
//open notification and check we have "End Pass Phrase Session" button
216214
device.openNotification()
217215
device.wait(
218-
Until.hasObject(By.text(requireNotNull(simpleAttInfo?.name))),
216+
Until.hasObject(By.text(requireNotNull(simpleAttInfo.name))),
219217
TimeUnit.SECONDS.toMillis(1)
220218
)
221219
device.pressBack()

0 commit comments

Comments
 (0)