fixed test that was broken in prior PR (wasn't getting the right button for adding a feed)

This commit is contained in:
Tom Hennen 2015-07-26 21:20:25 -04:00
parent c4e909e291
commit c2beb98ae8
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
openNavDrawer();
solo.clickOnText(solo.getString(R.string.add_feed_label));
solo.enterText(0, feed.getDownload_url());
solo.clickOnButton(0);
solo.clickOnButton(solo.getString(R.string.confirm_label));
solo.waitForActivity(DefaultOnlineFeedViewActivity.class);
solo.waitForView(R.id.butSubscribe);
assertEquals(solo.getString(R.string.subscribe_label), solo.getButton(0).getText().toString());