Fennec/Features/sessionstore/testplan: Difference between revisions

No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Sample feature =
<h1> Fast Session Saving </h1>
 
<table class="fullwidth-table">
{| class="fullwidth-table"
  <tr>
| width="25%" Feature
    <td width="25%"> Feature</td>
| width="25%" Dev Lead
    <td width="25%"> Dev Lead</td>
| width="25%" QA Lead
    <td width="25%"> QA Lead</td>
| width="25%" Status
    <td width="25%"> Status</td>
|}
</table>
{| class="fullwidth-table"
<onlyinclude>
| Fast Session Saving  
<table class="fullwidth-table">
| [mailto:mfinkle@mozilla.com MFinkle]
  <tr>
| [mailto:kbrosnan+wiki@mozilla.com Kevin Brosnan] <br> [mailto:andreea.pod@softvision.ro andreea.pod]  
    <td width="25%"> Fast Session Saving</td>
| Dev: LANDED <br> QA: TESTING
    <td width="25%"> [mailto:mfinkle@mozilla.com MFinkle]</td>
|}
    <td width="25%"> [mailto:kbrosnan+wiki@mozilla.com Kevin Brosnan] <br /> [mailto:andreea.pod@softvision.ro andreea.pod]</td>
</onlyinclude>
    <td width="25%"> Dev: LANDED <br /> QA: TESTING</td>
== Reference ==
  </tr>
* [https://bugzilla.mozilla.org/show_bug.cgi?id=630398 Bug 630398] - Session store doesn't save session data quickly enough
</table>
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.
<onlyinclude>
 
<h2> Reference </h2>
== Use Cases to Test ==
<ul><li> [https://bugzilla.mozilla.org/show_bug.cgi?id=630398 Bug 630398] - Session store doesn't save session data quickly enough
Killing Fennec while the page is loading should not restore the tab
</li></ul>
 
<ul><li> [https://bugzilla.mozilla.org/show_bug.cgi?id=658554 Bug 658554] - Undoing a tab pointing to about:blank does nothing
Killing Fennec < 2s after page Load should not restore the tab
</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.
Killing Fennec > 2s after page load should session restore the tab
</p>
 
<p> A closed blank tab should not have "undo closed tab"
== Test Cases ==
</p>
; Litmus
<h2> Use Cases to Test </h2>
* list any manual test cases which need to be added to Litmus
<p>Killing Fennec while the page is loading should not restore the tab
 
</p><p>Killing Fennec &lt; 2s after page Load should not restore the tab
== Bugs ==
</p><p>Killing Fennec &gt; 2s after page load should session restore the tab
Bugs filed as a result of testing the feature
</p><p>Closing a blank tab should not go to "undo closed tab" thumbnail
</p>
<h2> Test Cases </h2>
<dl><dt> Litmus
</dt></dl>
<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>
<h2> Bugs </h2>
<p>{{bug|685127}} - Scroll position not remembered after "undo closed tab"
</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"