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: Messages: Watch Thread

Feature Test Spec: Mail and News Component

Mail and News Component: Messages: Watch Thread

Written by Laurel Carlson
Modified and maintained by Fenella Gor
  1. Watch Thread should be tested by:
    1. Menu item (Message|Watch Thread)
    2. Context menu item
    3. Keyboard Shortcut (W)
    4. mnemonic
  2. Watch Thread tests should be initiated from
    1. Thread window:
      1. 3 pane ui, message pane shown
      2. 3 pane ui, message pane hidden
      3. standalone Message window
  3. Feature Enable/Disable conditions:
    1. Disabled for multiple selection
    2. Should otherwise be enabled for any message selection
    3. Disabled in an empty view.
    4. Always enabled in message window
    5. Undo/Redo is not available for Watch
  4. Basic functionality tests for Watch: (start with a 3 pane ui, message pane shown)
    1. Upon Watch, icon appears at top level message in thread.
    2. Any replies to watched thread are always shown as new (any view)
    3. Watched thread appears in Watched view when there are new messages
    4. Watch thread from any level message in thread:
      1. top level -- when there is no replies in thread
      2. top level -- when threads are collapsed
      3. top level -- when threads are expanded
      4. reply near top level
      5. reply -- deeply nested
    5. Unwatch thread from any level message in thread:
      1. top level -- when there is no replies in thread
      2. top level -- when threads are collapsed
      3. top level -- when threads are expanded
      4. reply near top level
      5. reply -- deeply nested
  5. Thread pane: Watch functions properly in different Views

    Check for icon Watched/glasses icon appearance or disappearance at top level message in thread. Should be preserved through switching views, sorting and exit.

    1. Watch from View All (View|Messages|All)
    2. Unwatch from View All (View|Messages|All)
    3. Watch from View New (View|Messages|Unread)
    4. Unwatch from View New (View|Message|Unread)
    5. Watch from View Threads with New (View|Message|Thread with Unread)
    6. Unwatch from View Threads with New (View|Message|Thread with Unread)
    7. Unwatch from View Watched Threads (View|Message|Watched Thread with Unread)
  6. Thread pane: Watch functions properly in different Sorting

    Check for Watched icon appearance or disappearance at top level message in thread. Should be preserved through switching views, sorting and exit.

    1. Watch in a flat sort
    2. Watch in threaded sort
    3. Unwatch in a flat sort
    4. Unwatch in threaded sort
  7. Message window: Watch and unwatch with thread window set to different views. Make sure icon changes in thread pane accordingly.
  8. Message window: Watch and unwatch with thread window set to different sorting. Make sure icon changes in thread pane accordingly
  9. Do a Watch on an Ignored thread. Verify icon changes to Watch although you didn't unignore first
  10. Repeat all of the above tests using Context menu item
  11. Repeat all of the above tests using mnemonic
  12. Repeat all of the above tests in a 3 pane ui ( message pane shown)
  13. Repeat all of the above tests in a 3 pane ui ( message pane hidden)
  14. Repeat tests in standalone window.