Fennec/Features/sessionstore/testplan: Difference between revisions
< Fennec | Features | sessionstore
Jump to navigation
Jump to search
No edit summary |
Andreea.pod (talk | contribs) No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
<onlyinclude> | <onlyinclude> | ||
<h2> Reference </h2> | <h2> Reference </h2> | ||
<ul><li> | <ul><li> [https://bugzilla.mozilla.org/show_bug.cgi?id=630398 Bug 630398] - Session store doesn't save session data quickly enough | ||
</li></ul> | |||
<ul><li> [https://bugzilla.mozilla.org/show_bug.cgi?id=658554 Bug 658554] - Undoing a tab pointing to about:blank does nothing | |||
</li></ul> | </li></ul> | ||
<p>Tabs should be restored when Firefox is killed. The Firefox 4 behavior was that tabs would be saved 10 seconds after the page finished loading. It now will save the tab 2 seconds after the page load finishes. | <p>Tabs should be restored when Firefox is killed. The Firefox 4 behavior was that tabs would be saved 10 seconds after the page finished loading. It now will save the tab 2 seconds after the page load finishes. | ||
</p> | |||
<p> A closed blank tab should not have "undo closed tab" | |||
</p> | </p> | ||
<h2> Use Cases to Test </h2> | <h2> Use Cases to Test </h2> | ||
Line 26: | Line 30: | ||
</p><p>Killing Fennec < 2s after page Load should not restore the tab | </p><p>Killing Fennec < 2s after page Load should not restore the tab | ||
</p><p>Killing Fennec > 2s after page load should session restore the tab | </p><p>Killing Fennec > 2s after page load should session restore the tab | ||
</p><p>Closing a blank tab should not go to "undo closed tab" thumbnail | |||
</p> | </p> | ||
<h2> Test Cases </h2> | <h2> Test Cases </h2> | ||
<dl><dt> Litmus | <dl><dt> Litmus | ||
</dt></dl> | </dt></dl> | ||
<ul><li> | <p>History for a reopened tab</p> | ||
<ul> Steps to perform | |||
<li> Open a new tab and go to Google.com</li> | |||
<li> Go to yahoo.com in the same tab</li> | |||
<li> Close the tab and tap on "undo closed tab"</li> | |||
<li> Open the right side bar and tap on back button</li> | |||
</ul><ul> Expected results | |||
<li> You should be able to browse through the reopened tab's history (yahoo.com should load after undo closed tab and google.com should load when you press the back button) | |||
</li></ul> | |||
<p>Close a blank tab</p> | |||
<ul> Steps to perform | |||
<li> Open a new blank tab</li> | |||
<li> Close the tab</li> | |||
</ul><ul> Expected results | |||
<li> The closed blank tab should not have "undo closed tab" | |||
</li></ul> | |||
<p> Scroll position for a restored tab</p> | |||
<ul> Steps to perform | |||
<li> In a new tab go to a page with height larger than the screen </li> | |||
<li> Scroll down on that page </li> | |||
<li> Close the tab </li> | |||
<li> Tap on 'undo close tab'</li> | |||
</ul><ul> Expected results | |||
<li> The page should be restored and the scroll position should be restored too. | |||
</li></ul> | </li></ul> | ||
<h2> Bugs </h2> | <h2> Bugs </h2> | ||
<p> | <p>{{bug|685127}} - Scroll position not remembered after "undo closed tab" | ||
</p> | </p> |
Latest revision as of 12:28, 7 September 2011
Fast Session Saving
Feature | Dev Lead | QA Lead | Status |
Fast Session Saving | MFinkle | Kevin Brosnan andreea.pod |
Dev: LANDED QA: TESTING |
Reference
- Bug 630398 - Session store doesn't save session data quickly enough
- Bug 658554 - Undoing a tab pointing to about:blank does nothing
Tabs should be restored when Firefox is killed. The Firefox 4 behavior was that tabs would be saved 10 seconds after the page finished loading. It now will save the tab 2 seconds after the page load finishes.
A closed blank tab should not have "undo closed tab"
Use Cases to Test
Killing Fennec while the page is loading should not restore the tab
Killing Fennec < 2s after page Load should not restore the tab
Killing Fennec > 2s after page load should session restore the tab
Closing a blank tab should not go to "undo closed tab" thumbnail
Test Cases
- Litmus
History for a reopened tab
- Steps to perform
- Open a new tab and go to Google.com
- Go to yahoo.com in the same tab
- Close the tab and tap on "undo closed tab"
- Open the right side bar and tap on back button
- Expected results
- You should be able to browse through the reopened tab's history (yahoo.com should load after undo closed tab and google.com should load when you press the back button)
Close a blank tab
- Steps to perform
- Open a new blank tab
- Close the tab
- Expected results
- The closed blank tab should not have "undo closed tab"
Scroll position for a restored tab
- Steps to perform
- In a new tab go to a page with height larger than the screen
- Scroll down on that page
- Close the tab
- Tap on 'undo close tab'
- Expected results
- The page should be restored and the scroll position should be restored too.
Bugs
bug 685127 - Scroll position not remembered after "undo closed tab"