added subscriptions test

This commit is contained in:
Tom Hennen 2016-03-27 15:03:54 -04:00
parent 0864825b82
commit ea02b3df7f
1 changed files with 6 additions and 0 deletions

View File

@ -110,6 +110,12 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
solo.waitForView(android.R.id.list); solo.waitForView(android.R.id.list);
assertEquals(solo.getString(R.string.episodes_label), getActionbarTitle()); assertEquals(solo.getString(R.string.episodes_label), getActionbarTitle());
// Subscriptions
openNavDrawer();
solo.clickOnText(solo.getString(R.string.subscriptions_label));
solo.waitForView(R.id.subscriptions_grid);
assertEquals(solo.getString(R.string.subscriptions_label), getActionbarTitle());
// downloads // downloads
openNavDrawer(); openNavDrawer();
solo.clickOnText(solo.getString(R.string.downloads_label)); solo.clickOnText(solo.getString(R.string.downloads_label));