Created
August 12, 2016 01:41
-
-
Save heitorcolangelo/9383071e13456e87c0b9750d4a7c36f0 to your computer and use it in GitHub Desktop.
MainActivityTest - recycler view item layout CORRECT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void checkUserItemView_isDisplayed() { | |
server.enqueue(new MockResponse().setResponseCode(200).setBody(Mocks.SUCCESS_SINGLE_ITEM)); | |
mActivityRule.launchActivity(new Intent()); | |
onView(withId(R.id.user_view_image)).check(matches(isDisplayed())); | |
onView(withId(R.id.user_view_name)).check(matches(isDisplayed())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment