This commit is contained in:
Matthieu 2021-01-14 10:48:35 +01:00
parent da1a2025c6
commit 5dbc45c35d
2 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ class HomeFeedTest {
//Open the comment section
onView(withId(R.id.list))
.perform(actionOnItemAtPosition<StatusViewHolder>
(0, clickChildViewWithId(R.id.ViewComments)))
(0, clickChildViewWithId(R.id.viewComments)))
Thread.sleep(1000)
onView(first(withId(R.id.commentContainer)))
.check(matches(hasDescendant(withId(R.id.comment))))
@ -186,7 +186,7 @@ class HomeFeedTest {
//Open the comment section
onView(withId(R.id.list))
.perform(actionOnItemAtPosition<StatusViewHolder>
(2, clickChildViewWithId(R.id.ViewComments)))
(2, clickChildViewWithId(R.id.viewComments)))
Thread.sleep(1000)
onView(withId(R.id.list)).check(matches(isDisplayed()))
}

View File

@ -267,7 +267,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintTop_toBottomOf="@+id/ViewComments">
app:layout_constraintTop_toBottomOf="@+id/viewComments">
</LinearLayout>