Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Fix changed layout for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MeKHell committed Mar 22, 2023
1 parent 33fd518 commit 08c4801
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .idea/androidTestResultsUserPreferences.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void testMovieItem() {
ViewInteraction movieItem = onView(withId(R.id.test_movie_item));
movieItem.check(matches(isDisplayed()));
movieItem.check(matches(hasDescendant(withText("Skyfall"))));
movieItem.check(matches(hasDescendant(withText("Rating: 10"))));
movieItem.check(matches(hasDescendant(withText("Rating: "))));
}

}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_movie_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
android:id="@+id/text_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Placeholder"
android:text="Skyfall"
android:textSize="14sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/media_cover" />
Expand Down

0 comments on commit 08c4801

Please sign in to comment.