Last active
June 29, 2016 12:20
-
-
Save andrzejchm/de230d959a2b561ebf921339322c3fdb 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 testGoodAnswer() throws Exception { | |
RESTMockServer.whenGET(RequestMatchers.pathEndsWith("users/andrzejchm")).thenReturnFile( | |
"users/andrzejchm.json"); | |
//launches activity with default intent | |
rule.launchActivity(null); | |
pageObject.typeUsername("andrzejchm"); | |
pageObject.pressOk(); | |
pageObject.verifyWelcomeMessageForUser("Welcome Andrzej Chmielewski!"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment