This commit is contained in:
Matthieu 2021-03-14 22:34:06 +01:00
parent e9430bb6ef
commit ffecf6e805
1 changed files with 1 additions and 3 deletions

View File

@ -220,9 +220,7 @@ class HomeFeedTest {
@Test @Test
fun performClickOnSensitiveWarning() { fun performClickOnSensitiveWarning() {
waitForView(R.id.username) waitForView(R.id.username)
onView(withId(R.id.list)).perform(scrollToPosition<StatusViewHolder>(1))
onView(second(withId(R.id.sensitiveWarning))).check(matches(withEffectiveVisibility(Visibility.VISIBLE))) onView(second(withId(R.id.sensitiveWarning))).check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
onView(withId(R.id.list)) onView(withId(R.id.list))