Open Bug 1136684 Opened 5 years ago Updated 4 years ago
Add automated tests for session restore after crash
Add automated test for the folowing Moztrap scenario: https://moztrap.mozilla.org/manage/case/11489/ Pre-requisite: Set Firefox to Show the Home Page at startup. Steps: 1. Open Firefox and create a dirty profile containing lots of history, bookmarks, themes, add-ons etc. * Firefox is opened and the Home page is displayed. 2. Customize Firefox (set a theme, change a few buttons position, pin a tab etc.) * The changes are displayed and no UI issues occur. 3. Open several different websites in different tabs. * The websites are correctly opened. 4. Restart Firefox and Go to History -> Restore Previous Session. * All the previously opened websites are loaded. The history, the cache and the customizations are kept. 5. Install an add-on which requires a restart (eg. Greasemonkey). * All the previously opened websites are loaded. The history, the cache and the customizations are kept. 6. Go to Options -> General and select Firefox to "Show my windows and tabs from last time". 7. Install the latest Crash Me add-on from http://ted.mielczarek.org/mozilla/crashme.html . * The Add-on is shown under the Tools Menu. 8. Open at least 3 different tabs containing different websites. 9. Crash Firefox using the Crash Me addon and restart firefox. * Firefox restarts and the about:sessionrestore page is shown. The session restore shows correctly all windows, each of them containing the opened tabs and the option to restore one/more or all of them. The websites are shown in history, the cache and the customizations are kept. 10. Close one window and crash Firefox again using the Crash Me addon. * The session is properly restored. The websites are shown in history, the cache and the customizations are kept. Note: This test is part of the manual regression suite, hence automation coverage is highly desirable
You need to log in before you can comment on or make changes to this bug.