To bring focus on Home screen in the app, when a user leaves the app from article view and opens the app again after certain time (time to be decided) we need to go back to the home tab -> update the feed -> and show what the user was reading earlier
---
== Acceptance Criteria ==
==== Background ====
Given I have read article X
And I have put the app in the background
===== Scenario: launch app w/in 24 hours ====
Given less than or equal to 24 hours have passed since entering the background
When I **resume** the app
Then I should see the previous state (i.e. no action taken)
Given the app was terminated while in the background
And less than or equal to 24 hours have passed since entering the background
When I launch the app
Then I should see article X (pushed on the Home tab for now)
And it should be scrolled to where I left off
===== Scenario: launch app after 24 hours ====
Given more than 24 hours have passed since entering the background
When I resume or launch the app
Then I should see the Home view
And I should see a "Continue Reading" section containing article X
And it should be scrolled to where I left off
{F2617180}