Last active
July 24, 2016 16:06
Revisions
-
heitorcolangelo revised this gist
Jul 24, 2016 . 1 changed file with 6 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,7 @@ @Test public void whenActivityIsLaunched_shouldDisplayInitialState() { onView(withId(R.id.login_image)).check(matches(isDisplayed())); onView(withId(R.id.login_username)).check(matches(isDisplayed())); onView(withId(R.id.login_password)).check(matches(isDisplayed())); onView(withId(R.id.login_button)).check(matches(isDisplayed())); } -
heitorcolangelo created this gist
Jul 24, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ @RunWith(AndroidJUnit4.class) public class LoginActivityTest { @Rule public ActivityTestRule<LoginActivity> mActivityRule = new ActivityTestRule<>(LoginActivity.class, false, true); @Test public void whenActivityIsLaunched_shouldDisplayInitialState() { onView(withId(R.id.login_image)).check(matches(isDisplayed())); onView(withId(R.id.login_username)).check(matches(isDisplayed())); onView(withId(R.id.login_password)).check(matches(isDisplayed())); onView(withId(R.id.login_button)).check(matches(isDisplayed())); } }