Fix errors of e2e tests.

This commit is contained in:
youtaol
2012-11-07 17:59:09 +08:00
parent 3da337b91b
commit ccdd33bcca
3 changed files with 6 additions and 3 deletions
@@ -86,7 +86,6 @@ public class MenuItemsTest extends ActivityInstrumentationTestCase2<TrackListAct
*/
public void testSearch() {
EndToEndTestUtils.createSimpleTrack(0, true);
EndToEndTestUtils.SOLO.goBack();
EndToEndTestUtils.findMenuItem(activityMyTracks.getString(R.string.menu_search), true);
EndToEndTestUtils.enterTextAvoidSoftKeyBoard(0, EndToEndTestUtils.trackName);
sendKeys(KeyEvent.KEYCODE_ENTER);