Use the updated API introduced in PR #3322
This commit is contained in:
parent
3b90352cd0
commit
6b685f77df
|
@ -122,7 +122,7 @@ public class PlaybackSonicTest {
|
||||||
solo.clickOnText(solo.getString(R.string.all_episodes_short_label));
|
solo.clickOnText(solo.getString(R.string.all_episodes_short_label));
|
||||||
getInstrumentation().waitForIdleSync();
|
getInstrumentation().waitForIdleSync();
|
||||||
|
|
||||||
final List<FeedItem> episodes = DBReader.getRecentlyPublishedEpisodes(10);
|
final List<FeedItem> episodes = DBReader.getRecentlyPublishedEpisodes(0, 10);
|
||||||
assertTrue(solo.waitForView(solo.getView(R.id.butSecondaryAction)));
|
assertTrue(solo.waitForView(solo.getView(R.id.butSecondaryAction)));
|
||||||
|
|
||||||
solo.clickOnView(solo.getView(R.id.butSecondaryAction));
|
solo.clickOnView(solo.getView(R.id.butSecondaryAction));
|
||||||
|
@ -241,7 +241,7 @@ public class PlaybackSonicTest {
|
||||||
setContinuousPlaybackPreference(followQueue);
|
setContinuousPlaybackPreference(followQueue);
|
||||||
uiTestUtils.addLocalFeedData(true);
|
uiTestUtils.addLocalFeedData(true);
|
||||||
DBWriter.clearQueue().get();
|
DBWriter.clearQueue().get();
|
||||||
final List<FeedItem> episodes = DBReader.getRecentlyPublishedEpisodes(10);
|
final List<FeedItem> episodes = DBReader.getRecentlyPublishedEpisodes(0, 10);
|
||||||
|
|
||||||
startLocalPlayback();
|
startLocalPlayback();
|
||||||
long mediaId = episodes.get(0).getMedia().getId();
|
long mediaId = episodes.get(0).getMedia().getId();
|
||||||
|
|
|
@ -114,7 +114,7 @@ public class PlaybackTest {
|
||||||
solo.waitForText(solo.getString(R.string.all_episodes_short_label));
|
solo.waitForText(solo.getString(R.string.all_episodes_short_label));
|
||||||
solo.clickOnText(solo.getString(R.string.all_episodes_short_label));
|
solo.clickOnText(solo.getString(R.string.all_episodes_short_label));
|
||||||
|
|
||||||
final List<FeedItem> episodes = DBReader.getRecentlyPublishedEpisodes(10);
|
final List<FeedItem> episodes = DBReader.getRecentlyPublishedEpisodes(0, 10);
|
||||||
assertTrue(solo.waitForView(solo.getView(R.id.butSecondaryAction)));
|
assertTrue(solo.waitForView(solo.getView(R.id.butSecondaryAction)));
|
||||||
|
|
||||||
solo.clickOnView(solo.getView(R.id.butSecondaryAction));
|
solo.clickOnView(solo.getView(R.id.butSecondaryAction));
|
||||||
|
@ -231,7 +231,7 @@ public class PlaybackTest {
|
||||||
setContinuousPlaybackPreference(followQueue);
|
setContinuousPlaybackPreference(followQueue);
|
||||||
uiTestUtils.addLocalFeedData(true);
|
uiTestUtils.addLocalFeedData(true);
|
||||||
DBWriter.clearQueue().get();
|
DBWriter.clearQueue().get();
|
||||||
final List<FeedItem> episodes = DBReader.getRecentlyPublishedEpisodes(10);
|
final List<FeedItem> episodes = DBReader.getRecentlyPublishedEpisodes(0, 10);
|
||||||
|
|
||||||
startLocalPlayback();
|
startLocalPlayback();
|
||||||
long mediaId = episodes.get(0).getMedia().getId();
|
long mediaId = episodes.get(0).getMedia().getId();
|
||||||
|
|
Loading…
Reference in New Issue