Give the test some more time
Also, use 30sec to prevent passing because of playback finished instead of skipping
This commit is contained in:
parent
e51a107083
commit
75754ba0f8
|
@ -287,6 +287,7 @@ public abstract class PlaybackTest {
|
|||
setSmartMarkAsPlayedPreference(60);
|
||||
// ensure when an episode is skipped, it is removed due to smart as played
|
||||
setSkipKeepsEpisodePreference(false);
|
||||
uiTestUtils.setMediaFileName("30sec.mp3");
|
||||
uiTestUtils.addLocalFeedData(true);
|
||||
|
||||
int fiIdx;
|
||||
|
@ -304,7 +305,7 @@ public abstract class PlaybackTest {
|
|||
|
||||
// assert item no longer in queue (needs to wait till skip is asynchronously processed)
|
||||
Awaitility.await()
|
||||
.atMost(1000, MILLISECONDS)
|
||||
.atMost(3000, MILLISECONDS)
|
||||
.until(() -> !DBReader.getQueue().contains(feedItem));
|
||||
assertTrue(DBReader.getFeedItem(feedItem.getId()).isPlayed());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue