Last active
January 14, 2019 15:57
-
-
Save igor-brishkoski/e896422431b779afa1a550721e162267 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
@RunWith(AndroidJUnit4::class) | |
class CreatePostActivityTest : BaseTest() { | |
@Rule | |
@JvmField | |
var activityTestRule = ActivityTestRule(CreatePostActivity::class.java) | |
@Test | |
fun createPost_WithText_Success() { | |
createPost { | |
enterPostText("Hello World!") | |
submitPost() | |
matchResultText(activityTestRule.getString(R.string.post_submitted)) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment