QA/Fennec/Add option to load cached pages when offline: Difference between revisions
(adding results) |
(adding results) |
||
(26 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
== Ownership == | == Ownership == | ||
Developer contacts: | Developer contacts: [mailto:mark.finkle@gmail.com Mark Finkle (:mfinkle)] | ||
QA: | QA: [mailto:teodora.vermesan@softvision.com Teodora Vermesan (:TeoVermesan)] | ||
== Overall Status == | == Overall Status == | ||
<small>'''<font color="green">[LANDED]</font>'''</small> Nightly 46: first landed on - '''2016-01-07''' | <small>'''<font color="green">[LANDED]</font>'''</small> Nightly 46: first landed on - '''2016-01-07''' | ||
<small>'''<font color=" | <small>'''<font color="green">[LANDED]</font>'''</small> Aurora 46: first landed on - '''2016-01-26''' | ||
<small>'''<font color=" | <small>'''<font color="green">[LANDED]</font>'''</small> Beta: first landed on '''27-04-2016 ''' | ||
= Testing Summary = | = Testing Summary = | ||
== Scope of testing == | == Scope of testing == | ||
The testing will be focus on | The testing will be focus on | ||
Line 29: | Line 25: | ||
Testing will be performed on following devices: | Testing will be performed on following devices: | ||
* Phones | * Phones | ||
** 4.x | ** 4.x | ||
** 5.x | ** 5.x | ||
Line 59: | Line 54: | ||
= Testing details = | = Testing details = | ||
== Test Cases== | == Test Cases== | ||
* | *[https://moztrap.mozilla.org/manage/case/18009/ Loading page from offline storage] | ||
== Testing days== | == Testing days== | ||
===Date:07-01-2015=== | ===Date:07-01-2015=== | ||
*Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Loading page from offline storage". | *Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Loading page from offline storage". | ||
*[[File:loadoffline.png|600px|thumb|center| Loading page from offline storage]] | |||
<br><br> <br><br> | |||
===Date:01-02-2015=== | |||
*Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Loading page from offline storage". | |||
===Date:12-04-2016 (Mid- Aurora testing)=== | |||
* load a page, go offline, close and reopen Firefox and from history choose the page=> the page is load correctly | |||
* a snackbar toast is displayed at the bottom | |||
* the cached version of site is not being displayed | |||
*issues: | |||
*[https://bugzilla.mozilla.org/show_bug.cgi?id=1064611 - Allow requesting cached content from nsIWebNavigation] | |||
*[https://bugzilla.mozilla.org/show_bug.cgi?id=1233250 - Indicate cached version of site is being displayed] | |||
*[https://bugzilla.mozilla.org/show_bug.cgi?id=1236130 - Network change notification issue causes a caching problem, (some) sites do not update anymore] | |||
*[https://bugzilla.mozilla.org/show_bug.cgi?id=1258428 - Page loaded from cache snackbar appears for pages that have never been visited] | |||
===Date:04-04-2016(47beta 2)=== | |||
*offline cache feature is disabled | |||
===Date:08-06-2016=== | |||
*nightly 50, aurora 49: | |||
**Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Showing offline version". | |||
[[File:Screenshot_2016-06-10-16-51-24.png|600px|thumb|center| Loading page from offline storage]] | |||
<br><br> <br><br> | |||
*beta 48b1: | |||
***Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Loading page from offline storage". | |||
*[[File:Screenshot_2016-06-10-16-56-25.png|600px|thumb|center| Loading page from offline storage]] | |||
<br><br> <br><br> | |||
=Bug Work= | =Bug Work= | ||
Line 82: | Line 99: | ||
==Still issues== | ==Still issues== | ||
<font color="red">'''[NEW]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=1064611 Bug 1064611] - Allow requesting cached content from nsIWebNavigation <br/> | <font color="red">'''[NEW]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=1064611 Bug 1064611] - Allow requesting cached content from nsIWebNavigation <br/> | ||
<font color="red">'''[NEW]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=1233250 Bug 1233250] - Indicate cached version of site is being displayed <br/> | <font color="red">'''[NEW]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=1233250 Bug 1233250] - Indicate cached version of site is being displayed <br/> | ||
<font color="red">'''[NEW]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=1236130 Bug 1236130] - Network change notification issue causes a caching problem, (some) sites do not update anymore<br/> | |||
<font color="red">'''[NEW]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=1258428 Bug 1258428] - Page loaded from cache snackbar appears for pages that have never been visited <br/> | |||
===Bug fixed === | ===Bug fixed === | ||
<font color="green">'''[RESOLVED FIXED]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=935190 Bug 935190] - Try to show cached pages when Fennec is offline <br/> | <font color="green">'''[RESOLVED FIXED]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=935190 Bug 935190] - Try to show cached pages when Fennec is offline <br/> | ||
:↳ <small>'''2016-01-07'''</small>: verified fixed on Firefox for Android 46.0a1 (2016-01-06) using Samsung Galaxy S4 (Android 5.0); | :↳ <small>'''2016-01-07'''</small>: verified fixed on Firefox for Android 46.0a1 (2016-01-06) using Samsung Galaxy S4 (Android 5.0); | ||
<font color="green">'''[RESOLVED FIXED]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=1236616 Bug 1236616] - Enable "browser.tabs.useCache" by default <br/> | |||
<font color="green">'''[RESOLVED FIXED]'''</font> [https://bugzilla.mozilla.org/show_bug.cgi?id=1253598 Bug 1253598] - Disable offline cache feature on release <br/> | |||
=Signoff= | =Signoff= | ||
Line 94: | Line 113: | ||
* All test cases should be executed | * All test cases should be executed | ||
* All blockers, criticals must be fixed and verified or have an agreed-upon timeline for being fixed | * All blockers, criticals must be fixed and verified or have an agreed-upon timeline for being fixed | ||
== Results == | == Results == | ||
Line 101: | Line 119: | ||
* a snackbar toast is displayed at the bottom | * a snackbar toast is displayed at the bottom | ||
* the cached version of site is not being displayed | * the cached version of site is not being displayed | ||
'''Aurora testing''' | '''Aurora testing''' | ||
* load a page, go offline, close and reopen Firefox and from history choose the page=> the page is load correctly | |||
* a snackbar toast is displayed at the bottom | |||
* the cached version of site is not being displayed | |||
'''Beta testing''' | '''Beta testing''' | ||
* load a page, go offline, close and reopen Firefox and from history choose the page=> the page is load correctly | |||
* a snackbar toast is displayed at the bottom | |||
* the cached version of site is not being displayed |
Latest revision as of 13:58, 10 June 2016
Overview
Purpose
The purpose of this wiki is to serve as a general test plan for verifying that cached pages can be loaded when being offline
Ownership
Developer contacts: Mark Finkle (:mfinkle)
QA: Teodora Vermesan (:TeoVermesan)
Overall Status
[LANDED] Nightly 46: first landed on - 2016-01-07
[LANDED] Aurora 46: first landed on - 2016-01-26
[LANDED] Beta: first landed on 27-04-2016
Testing Summary
Scope of testing
The testing will be focus on
- verifying that a cached version of a webpage when being offline is shown
- verifying that when page was loaded in cache, user goes offline, next time opening the tab, it tries to reload the page. Instead of showing the network error *message, it will now show the cached version.
- verifying that a snackbar toast will be displayed at the bottom
- verifying that an offline version of a page I recently visited is available
Environments
Testing will be performed on following devices:
- Phones
- 4.x
- 5.x
- 6.0
- Tablet
- 4.x
- 5.x
- 6.0
Specifications
- Show users automatically a cached version of a webpage when being offline.
- Covers the use case that a page was loaded in cache, user goes offline, next time opening the tab, it (as usual) tries to reload the page. Instead of showing the network error *message, it will now show the cached version, if available, with a snackbar at the bottom
- Times where it will not work
- browser cache is already full, occupied with other tabs/pages
- HTML page includes meta no-cache header
User stories
- As a user, I want to able to view a page I visited previously when offline instead of seeing a 'network error' page, in order to have a more seamless browsing experience
- As a user, I want to be informed if an offline version of a page I recently visited is available
- As a user, when clicking on the offline version, I can view the page in Reader View, if Reader view is available
Acceptance Criteria
- When user is offline, the user is presented with a notification, after they've (re)loaded the page, explaining that they currently are viewing a cached version of the page.
- If cached version is available offline and reader view icon is present, user can switch between reader view and non-reader view without retrieving an error page.
Additional Info
- This data is already currently being cached / stored by Firefox. With this feature, we aren't collecting or storing anything new from our current experience, ie we're not saving anything over-and-above what we do today. Instead, we're using the information that is currently stored in a usable and delightful way.
- The cached page is scrollable.
Testing details
Test Cases
Testing days
Date:07-01-2015
- Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Loading page from offline storage".
Date:01-02-2015
- Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Loading page from offline storage".
Date:12-04-2016 (Mid- Aurora testing)
- load a page, go offline, close and reopen Firefox and from history choose the page=> the page is load correctly
- a snackbar toast is displayed at the bottom
- the cached version of site is not being displayed
- issues:
- - Allow requesting cached content from nsIWebNavigation
- - Indicate cached version of site is being displayed
- - Network change notification issue causes a caching problem, (some) sites do not update anymore
- - Page loaded from cache snackbar appears for pages that have never been visited
Date:04-04-2016(47beta 2)
- offline cache feature is disabled
Date:08-06-2016
- nightly 50, aurora 49:
- Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Showing offline version".
- beta 48b1:
- Load mozilla.org, cut off wifi, close and reopen Firefox and from history choose mozilla.org, the page load correctly and a snackbar is displayed at the bottom of the page: "Loading page from offline storage".
Bug Work
Tracking bugs
- bugs to track the feature
ex:
ID | Summary | Priority | Status |
---|---|---|---|
935190 | Try to show cached pages when Fennec is offline | -- | RESOLVED |
1064611 | Allow requesting cached content from nsIWebNavigation | -- | NEW |
1236616 | Enable "browser.tabs.useCache" by default | -- | RESOLVED |
3 Total; 1 Open (33.33%); 2 Resolved (66.67%); 0 Verified (0%);
Still issues
[NEW] Bug 1064611 - Allow requesting cached content from nsIWebNavigation
[NEW] Bug 1233250 - Indicate cached version of site is being displayed
[NEW] Bug 1236130 - Network change notification issue causes a caching problem, (some) sites do not update anymore
[NEW] Bug 1258428 - Page loaded from cache snackbar appears for pages that have never been visited
Bug fixed
[RESOLVED FIXED] Bug 935190 - Try to show cached pages when Fennec is offline
- ↳ 2016-01-07: verified fixed on Firefox for Android 46.0a1 (2016-01-06) using Samsung Galaxy S4 (Android 5.0);
[RESOLVED FIXED] Bug 1236616 - Enable "browser.tabs.useCache" by default
[RESOLVED FIXED] Bug 1253598 - Disable offline cache feature on release
Signoff
Criteria
- All test cases should be executed
- All blockers, criticals must be fixed and verified or have an agreed-upon timeline for being fixed
Results
Nightly testing
- load a page, go offline, close and reopen Firefox and from history choose the page=> the page is load correctly
- a snackbar toast is displayed at the bottom
- the cached version of site is not being displayed
Aurora testing
- load a page, go offline, close and reopen Firefox and from history choose the page=> the page is load correctly
- a snackbar toast is displayed at the bottom
- the cached version of site is not being displayed
Beta testing
- load a page, go offline, close and reopen Firefox and from history choose the page=> the page is load correctly
- a snackbar toast is displayed at the bottom
- the cached version of site is not being displayed