Skip to content

Commit 8ef5cc0

Browse files
committed
wip
1 parent b5fcf3b commit 8ef5cc0

1 file changed

Lines changed: 1 addition & 25 deletions

File tree

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fragment/isolation/incontainer/ParseAndSavePubKeysFragmentInIsolationTest.kt

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import com.flowcrypt.email.ui.activity.fragment.ParseAndSavePubKeysFragmentArgs
3636
import com.flowcrypt.email.util.PrivateKeysManager
3737
import com.flowcrypt.email.util.TestGeneralUtil
3838
import com.flowcrypt.email.viewaction.ClickOnViewInRecyclerViewItem
39-
import org.hamcrest.Matchers.allOf
4039
import org.junit.Rule
4140
import org.junit.Test
4241
import org.junit.rules.RuleChain
@@ -85,30 +84,7 @@ class ParseAndSavePubKeysFragmentInIsolationTest : BaseTest() {
8584
)
8685

8786
onView(withId(R.id.rVPubKeys))
88-
.check(matches(withRecyclerViewItemCount(6)))
89-
90-
onView(withId(R.id.rVPubKeys))
91-
.check(
92-
matches(
93-
hasItem(
94-
withChild(
95-
allOf(
96-
hasSibling(
97-
withText(getResString(R.string.cannot_be_used_for_encryption))
98-
),
99-
hasSibling(
100-
withText(
101-
getResString(
102-
R.string.template_message_part_public_key_owner,
103-
"dsa@flowcrypt.test"
104-
)
105-
)
106-
)
107-
)
108-
)
109-
)
110-
)
111-
)
87+
.check(matches(withRecyclerViewItemCount(5)))
11288
}
11389

11490
@Test

0 commit comments

Comments
 (0)