Created
January 3, 2020 09:15
-
-
Save veena14cs/5c12b5ed7db105bfcd238476a7fb8405 to your computer and use it in GitHub Desktop.
Profile id is returning -1.
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 | |
fun testHomeActivity_firstOpen_hasProfileName() { | |
profileManagementController.loginToProfile(ProfileId.newBuilder().setInternalId(0).build()) | |
launch(HomeActivity::class.java).use { | |
onView( | |
atPositionOnView( | |
R.id.home_recycler_view, | |
0, | |
R.id.profile_name_textview | |
) | |
).check(matches(withText("Sean"))) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment