diff options
author | Tom Hennen <tom.hennen@gmail.com> | 2015-07-26 21:20:25 -0400 |
---|---|---|
committer | Tom Hennen <tom.hennen@gmail.com> | 2015-07-26 21:20:25 -0400 |
commit | c2beb98ae8d8252ebd6f082da2d75f66471a308d (patch) | |
tree | 3ce00c678be1034fb0c6d5559fc9d4d2620c5ed2 /app | |
parent | c4e909e2916605a615c35f7f745f01335065c6b2 (diff) | |
download | AntennaPod-c2beb98ae8d8252ebd6f082da2d75f66471a308d.zip |
fixed test that was broken in prior PR (wasn't getting the right button for adding a feed)
Diffstat (limited to 'app')
-rw-r--r-- | app/src/androidTest/java/de/test/antennapod/ui/MainActivityTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/ui/MainActivityTest.java b/app/src/androidTest/java/de/test/antennapod/ui/MainActivityTest.java index 0326174e3..65c962f01 100644 --- a/app/src/androidTest/java/de/test/antennapod/ui/MainActivityTest.java +++ b/app/src/androidTest/java/de/test/antennapod/ui/MainActivityTest.java @@ -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()); |