Description
Describe the bug
The bug appears to be a regression of 1314. Supposedly fixed in 4.16.0, the symptoms originally stated are apparent (and arguably worse) in the latest version, 4.16.3.
To Reproduce and Expected behaviour
Background:
Given I go online
And I open the app
And I subscribe to a podcast
And I download several episodes
Scenario: Downloaded episode stops playing when going offline
When I playback a non-downloaded episode
And I download the episode being played (see screenshot 1)
And I go offline
EXPECTED:
Then the episode should continue playback from the downloaded asset
ACTUAL:
But the episode playback stops (see screenshot 2)
And I cannot resume the playback (see screenshots 3, 4, 5)
Scenario: Restarting the app when offline cannot find any subscribed podcasts
Given I go offline
And I close the app
When I open the app
EXPECTED:
Then the list of subscribed podcasts should be displayed
ACTUAL:
But the subscribed podcasts are not displayed (see screenshot 6)
Scenario: Listing the downloaded episodes
When I filter by downloaded episodes
EXPECTED:
Then I should see the list of episodes downloaded
ACTUAL:
But there are no downloaded episodes listed (see screenshot 7)
Scenario: Restarting the app when online to find downloaded assets deleted
Given I go offline
And I close the app
And I go online
When I open the app
EXPECTED:
Then the list of previously downloaded episodes should be available
ACTUAL:
But the downloaded assets are no longer downloaded (see screenshot 8)
And I have to download the episodes again
Smartphone (please complete the following information):
- Device: OnePlus 9
- OS: LineageOS 21 / Android 14
- App Version: 4.16.3 (latest)
Additional context
- Reproduction steps written in Gherkin syntax
- Going online means I have a Wi-Fi connection
- I'm "offline" when there is no Wi-Fi
- I have a 4/5G network connection, mobile data and roaming features are disabled
- At no point during the test do I enable flight / aeroplane mode
- The test has been conducted multiple times, from different Wi-Fi AP locations as a starting point then physically moving out of range of the connected Wi-Fi networks.