Fennec/Features/sessionstore/testplan: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 34: Line 34:
<h2> Test Cases </h2>
<h2> Test Cases </h2>
<dl><dt> Litmus
<dl><dt> Litmus
</dt></dl>History for a reopened tab
</dt></dl>
<p>History for a reopened tab</p>
<ul> Steps to perform
<ul> Steps to perform
<li> Open a new tab and go to Google.com</li>
<li> Open a new tab and go to Google.com</li>
<li>Go to yahoo.com in the same tab</li>
<li> Go to yahoo.com in the same tab</li>
<li>Close the tab and reopen the closed 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>
<li> Open the right side bar and tap on back button</li>
</ul><ul> Expected results
</ul><ul> Expected results
<li>You should be able to browse through the reopened tab's history
<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>Bugs filed as a result of testing the feature
<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"