diff --git a/app/src/androidTest/java/com/h/pixeldroid/HomeFeedTest.kt b/app/src/androidTest/java/com/h/pixeldroid/HomeFeedTest.kt index e1ca7855..0f188bac 100644 --- a/app/src/androidTest/java/com/h/pixeldroid/HomeFeedTest.kt +++ b/app/src/androidTest/java/com/h/pixeldroid/HomeFeedTest.kt @@ -175,7 +175,7 @@ class HomeFeedTest { //Open the comment section onView(withId(R.id.list)) .perform(actionOnItemAtPosition - (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 - (2, clickChildViewWithId(R.id.ViewComments))) + (2, clickChildViewWithId(R.id.viewComments))) Thread.sleep(1000) onView(withId(R.id.list)).check(matches(isDisplayed())) } diff --git a/app/src/main/res/layout/post_fragment.xml b/app/src/main/res/layout/post_fragment.xml index 134d0aca..745550c5 100644 --- a/app/src/main/res/layout/post_fragment.xml +++ b/app/src/main/res/layout/post_fragment.xml @@ -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">