Created
September 27, 2017 14:10
-
-
Save flipper83/f02e05e7d295b52e1309aba53b613a50 to your computer and use it in GitHub Desktop.
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 shouldShowAnErrorWhenTheEmailIsNotAnEmail() { | |
onView(withId(R.id.email)).perform(typeText("Not is an email"), closeSoftKeyboard()); | |
onView(withId(R.id.email_sign_in_button)).perform(click()); | |
onView(withId(R.id.tv_error)).check(matches(withText(R.string.error_invalid_email))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment