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 > Mail & News: Mark Messages

Feature Test Spec: Mail and News Component

Mail and News Component: Mark Messages

Written by Laurel Carlson
Modified by Fenella Gor

References

None.

  1. Description: This feature testspec is intended to outline test coverage for using the various Message|Mark commands on mail and news messages.
    1. Mark Message should be initiated from:
      1. Thread pane
        1. 3 pane UI window (thread pane, folder pane and message pane shown)
        2. 2 pane UI window (thread pane and folder pane shown, message pane collapsed)
        3. 1 pane UI window (thread pane shown, folder pane and message pane collapsed)
      2. Message pane
      3. Message window (double click on message opens a message window)
    2. Mark Message should be tested by:
      1. Menu item (Message|Mark)
      2. Mnemonic/hot keys
      3. Toolbar button dropdown (applies for newsgroups only)
      4. Keyboard shortcuts
    3. Mark|Message options
      1. as Read (M)
      2. Thread as Read
      3. All Read (Shift+C)
    4. Initial condition: Open a 3 pane UI window, message pane shown. Select the Inbox folder
  2. General testing: After marking message, check for appropriate read/unread state:
    1. Thread pane: Unread column/diamond
    2. Thread pane: thread icon state
    3. Thread pane: item line bold attribute
    4. Thread Window unread count
    5. Message Center unread count
    6. Read/Unread state lasts through exit.
  3. Verifying Mark on mail messages
    1. 3 pane UI window (thread pane, folder pane and message pane shown)
      1. Mark (selection) As Read Note: during Nova project Mark Read/Unread was changed to toggle/checkmark single menu item.
        1. Initial condition: close message pane, select a unread message
        2. Mark as Read - Enable/disable conditions:
          • A checkmark before "as Read" is toggled back and forth for Read/Unread message.
          • Should be disabled (grayed out) in empty view
          • Should have a checkmark before "as Read" (because opening the window changes status to read.
        3. Mark as Read - single selection
          • When collapsed
            • only change the top thread
          • When expanded-only change the selected thread:
            • may be the top level thread,
            • various level replies
        4. Mark as Read - multiple selections
          • On multiple selection where selected message are not read (green icon), should have no checkmark before "as Read".
          • On multiple selection where selected message are read (no green icon), should have a checkmark before "as Read".
          • contiguous seletion
          • on-contiguous selection
          • mix of unread/read items
        5. From Edit|Select All (or CTL+A); Mark as Read
        6. Mark as Read - Selection includes collapsed thread --verify that operation only done on displayed/top level message, it doesn't mark collapsed components
        7. Mark as Read when selecting thread using thread icon/spool --it should mark all thread components as Read
        8. Select large number of items; Mark as Read (Nova bug#82313: "Mark as Read does not work for large number of messages", eg 5000 in newsgroup)
        9. Mark as Read various message types:
          • animated message
          • very long messages
          • signed message
          • html with images inserted
          • message with attachments
            • web pages with lots of animation
            • web pages with forms
            • more...
        10. Mark an item as Read by using the read/unread "diamond" column (green = unread, grey = read)
        11. Undo/Redo various Mark as Read operations
      2. Mark Thread As Read - Note: Mark Thread Read will mark the thread read but will not move on to next thread/next unread thread as does the navigational item Go|Next Unread Thread.
        1. Initial condition
          • Close message pane and then select a unread thread
        2. Enable/disable conditions:
          • enabled in populated view for any single selection
          • disabled in empty view
          • enabled in message window
          • disabled for multiple selection
        3. When collapsed: Mark Thread As Read changes both
          • Focus on top level message
          • Focus on nested reply
        4. When expanded: Mark Thread As Read changes both
          • Focus on top level message
          • Focus on nested reply
        5. Really large thread (apply to newsgroup only)
        6. Mark Thread as Read In a flat sort (eg: sort by subject)
        7. Mark Thread as Read In a threaded sort (eg: sort by thread)
          • when expanded
          • when collapsed
        8. Undo/Redo mark thread read
          • flat sort
          • threaded sort
            • when expanded
            • when collapsed
        9. Mark Thread as Read In different views (View|Message):
          • All
          • Unread
          • Threads with Unread
          • Watched Threads with Unread
        10. Mark from message window when thread window closed.
          • close message pane, double click a unread(green icon) message to open a message window, close the thread window, select Mark Thread as Read, open the thread window and verify that the message's green icon is gone.
      3. Mark All Read
        1. Initial condition: Set messages to unread stage
        2. Enable/disable conditions:
          • disabled in empty view
          • generally enabled otherwise
          • enabled in message window
        3. Large number of messages to mark
          • Check progress dialog (Mac)
          • Check status bar text" Marked N messages" (All platforms?)
          • .Interrupt marking process, verify you're left in a good state
            1. Cancel dialog (Mac)
            2. Single selection
        4. .Mark All Read from different views
          • View Message All
            • Ignored toggle OFF
            • Ignored toggle ON
          • View Message Unread
          • View Threads with Unread
          • View Watched Threads with Unread
        5. Undo/Redo mark All Read
        6. Mark All Read from message window when thread window closed. Close message pane, double click a unread(green icon) message to open a message window, close the thread window, select Mark All Read, open the thread window and verify that the message's green icon is gone.
    2. 2 pane UI window (thread pane and folder pane shown, message pane collapsed)
      1. Repeat all of the above 3 pane UI window test cases.
    3. 1 pane UI window (thread pane shown, folder pane and message pane collapsed)
      1. Repeat all of the above 3 pane UI window test cases
    4. Message pane
      1. Repeat all of the above 3 pane UI window test cases
    5. Message window (double click on message opens a message window)
      1. Repeat all of the above 3 pane UI window test cases
  4. Verifying Mark on newsgroup messages
    1. 3 pane UI window (thread pane, folder pane and message pane shown) for newsgroup
      1. Repeat all of the above 3 pane UI window test cases for Mail.
      2. Mark Newsgroup Read - Message Center context menu item (not available for mail folders in general)
        1. Initial condition: Select a newsgroup
        2. Enable/disable conditions: always enabled when selection is newsgroup, whether the group has unread items or not, or any level.
        3. Mark various groups over different servers
        4. Mark when group is open
          1. when newsgroup collapsed - verify it marks the group all Read
          2. when newsgroup expanded - verify it the entire all Read
        5. category group is open:
          1. the same category as you're marking is open; verify it marks all newsgroup Read
          2. a different category in the same overall group is open; it should mark all Read.
        6. Mark with large number of unread items
        7. Folder dropdown should lose bold attribute for newsgroup marked read
        8. No Undo/Redo
        9. Mark Newsgroup Read before you've downloaded header
        10. When selection is top level category As of Nova RTM, mark group read from top level category marks all the subcategories, too
        11. When selection is subcategory As of Nova RTM, mark group read from a subcategory only marks that category
      3. Cross-posted messages: Verify marking a cross-posted message marks message read/unread in all recipient groups bug 43278
        1. posted to different newsgroups
          • same server
          • different server
        2. mark single cross-posted message
        3. mark thread with cross-post
        4. mark all with cross-post
        5. mark by date with cross-post
      4. Mark All Read for different download header options: (not applicable for mail)
        1. download all with no warning dialog/pref not set
        2. download all with warning dialog/pref set
        3. download chunk of header with warning dialog/pref set:
          • check mark remaining headers read
          • do not check mark remaining headers read
    2. 2 pane UI window (thread pane and folder pane shown, message pane collapsed)
      1. Repeat the 3 pane UI window test cases for newsgroup (IV.A)
    3. 1 pane UI window (thread pane shown, folder pane and message pane collapsed)
      1. Repeat the 3 pane UI window test cases for newsgroup (IV.A)
    4. Message pane
      1. Repeat the 3 pane UI window test cases for newsgroup (IV.A)
    5. Message window (double click on message opens a message window)
      1. Repeat the 3 pane UI window test cases for newsgroup (IV.A)