You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



You are here: Mozilla MailNews Functional / UI Tests > Views

Feature Test Spec: Mail and News Component

Mail and News Component: Views

Written by Laurel Carlson
Modified and maintained by Fenella Gor

References:

5.0 Seamonkey UI Specification:
Test case management: N/A
Total number of test cases: approximate 1656

Description

This testspec covers exclusively on the Sort option in Messenger. Sorting messages encompasses ascending and descending order. Sorting includes different views as well as re-arranging the different columns. All test cases applies to both the mail and newsgroups.

  1. Messenger UI window to be tested:
    1. 3 Pane UI window
      1. Preferences|Mail & Newsgroup|Window Settings to choose the first layout option
      2. Preferences|Mail & Newsgroup|Window Settings to choose the second layout option
    2. 2 pane UI window (Folder pane collapsed)
    3. 2 pane window (Message pane collapsed)
    4. 1 pane window (Folder and Message pane collapsed)
  2. Initial conditions: Open a default 3 pane UI Messenger window using:
    • Preferences|Mail & Newsgroup|Window Settings to choose the first layout option
  1. Performing basic mail/newsgroup operation
    1. Get new messages (make sure new messages are sorted appropriately)
    2. File messages (make sure they're sorted correctly in destination folder)
    3. Copy messages (make sure they're sorted correctly in destination folder)
    4. Use the Back message option after switching sorts
    5. Use Forward message option after switching sorts
    6. Brief check for thread operations in flat sort
    7. Brief check of other navigational commands in sorts
    8. Brief check of other navigational command after switching sorts
    9. Verify view sorting is preserved per mail/newsgroup
      1. Close and reopen mail/newsgroup message
      2. Through exit communicator and reopen
      3. Click on X and reopen
    10. Switch to another mail/newsgroup and back via folder dropdown (right above the folder pane)
  2. Testing Messenger's Sort options on mail
    1. 3 pane UI window
      1. Verify each view contains all thread window columns
      2. Verify column operations in all views
        1. Column widget to add/remove columns from display (using the back and forth arrow in the column header)
        2. Resizing columns
        3. Reordering columns (placement in display as opposed to sort order of contents)
        4. Clicking column header for column's content sort and in ascending/descending order
      3. Expand and collapse threads in any view, checking column information in both states.
      4. Message pane can be displayed or hidden with the pane widget or menu item. (via View|Show|Message)
      5. Threaded sort: verify threading is correct switching among views
      6. Column sorting method: select column headers to sort message threads in ascending order by clicking each of the column headings:
        1. Flag icon
        2. Subject
        3. Sender
        4. Date
        5. Read green diamond icon
        6. Status
        7. Priority
        8. Flag icon
        9. Unread
        10. Size
      7. Column sorting method: select column headers by clicking each of the following column headings:
        1. Flag icon
        2. Subject
        3. Sender
        4. Date
        5. Read green diamond icon
        6. Status
        7. Priority
        8. Flag icon
        9. Unread
        10. Size
      8. Re-arrange the column orders by dragging columns headers to left or right, repeat column sorting (use the previous two steps above.)
      9. Re-size the columns by dragging the column width and repeat column sorting (use the previous two steps above)
      10. Expand to show additional column heading before sorting (repeat column sorting)
      11. Hide the column heading before sorting (repeat column sorting)
      12. View menu sorting method: From the View|Sort menu, select Ascending and select one of the followings. Verify that the messages thread in the message pane are sorted in the ascending order according to your selection:
        1. by Date
        2. by Flag
        3. by Priority
        4. by Sender
        5. by Size
        6. by Status
        7. by Subject
        8. by Thread
        9. by Unread
        10. by Ordered Received
      13. View menu sorting method: From the View|Sort menu, select Descending to verify that the messages thread in the message pane are sorted in the descending order according to your selection below:
        1. by Date
        2. by Flag
        3. by Priority
        4. by Sender
        5. by Size
        6. by Status
        7. by Subject
        8. by Thread
        9. by Unread
        10. by Ordered Received
      14. Re-arrange the column orders by dragging columns headers to left or right, repeat View menu sorting.
      15. Re-size the columns by dragging the column width and repeat View menu sorting.
      16. Expand to show additional column heading. Repeat View menu sorting.
      17. Hide the column heading before sorting. Repeat View menu sorting.
      18. Get Messages in Views
      19. For each view, verify you can get messages. Only new messages appropriate to the selected view should display.
      20. In each view, get messages in threaded sort. Verify threading is appropriate.
      21. In each view, get messages in flat sort. Verify newly received messages are merged appropriately in the sort.
      22. Select and open message
      23. Sorting under different View|Messages options:
        1. All
        2. Unread
        3. Threads with Unread
        4. Watched Thread with Unread
        5. Ignored Threads
      24. Switching between the different views. Verify sorting is maintained
      25. Sorting under different headers, under View|Headers options:
        1. All
        2. Normal
        3. Brief
        4. Switching between the different views
      26. Switching between sorting methods to ensure the selection point doesn't jump around
        1. Selecting a message in a Flat sort then switching to Threaded
    2. 2 pane UI window (Folder pane collapsed)
      1. Repeat all of the 3 pane window test cases
    3. 2 pane window (Message pane collapsed)
      1. Repeat all of the 3 pane window test cases
    4. One pane window (Folder and Message pane collapsed)
      1. Repeat all of the 3 pane window test cases
  3. Testing Messenger's Sort options on newsgroups
    1. Repeat all the test cases in item I above
    2. Repeat all the test cases in item II above