I am currently learning Espresso, I'm writing a test case where user does the following.
Pre-condition:- Create a rule to activate a login activity:
- Opens the app
- Types username password
- Clicks on login button
Now user gets redirected to a new activity where it displays the username. How do I assert the text in Logged in activity?
Basically how to navigate between multiple activities in a single testcase
Aucun commentaire:
Enregistrer un commentaire