/**
* US02.01.01, UC02.02.01
*/
@Test
public void testAddFriend() throws Exception {
onView(withId(R.id.addFriendFab)).perform(click());
pause();
onView(withClassName(new StringContains("EditText"))).
perform(typeText(TEST_OTHER_USER),
closeSoftKeyboard());
pause();
onView(withText("Add")).
perform(click());
pause();
onData(hasToString(TEST_OTHER_USER))
.inAdapterView(withId(R.id.friendsListListView))
.check(matches(isDisplayed()));
pause();
}
FriendsListTest.java 文件源码
java
阅读 64
收藏 0
点赞 0
评论 0
项目:301p
作者:
评论列表
文章目录