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 CarlsonModified and maintained by Fenella Gor
- Watch Thread should be tested by:
- Menu item (Message|Watch Thread)
- Context menu item
- Keyboard Shortcut (W)
- mnemonic
- Watch Thread tests should be initiated from
- Thread window:
- 3 pane ui, message pane shown
- 3 pane ui, message pane hidden
- standalone Message window
- Thread window:
- Feature Enable/Disable conditions:
- Disabled for multiple selection
- Should otherwise be enabled for any message selection
- Disabled in an empty view.
- Always enabled in message window
- Undo/Redo is not available for Watch
- Basic functionality tests for Watch: (start with a 3 pane ui,
message pane shown)
- Upon Watch, icon appears at top level message in thread.
- Any replies to watched thread are always shown as new (any view)
- Watched thread appears in Watched view when there are new messages
- Watch thread from any level message in thread:
- top level -- when there is no replies in thread
- top level -- when threads are collapsed
- top level -- when threads are expanded
- reply near top level
- reply -- deeply nested
- Unwatch thread from any level message in thread:
- top level -- when there is no replies in thread
- top level -- when threads are collapsed
- top level -- when threads are expanded
- reply near top level
- reply -- deeply nested
- 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.
- Watch from View All (View|Messages|All)
- Unwatch from View All (View|Messages|All)
- Watch from View New (View|Messages|Unread)
- Unwatch from View New (View|Message|Unread)
- Watch from View Threads with New (View|Message|Thread with Unread)
- Unwatch from View Threads with New (View|Message|Thread with Unread)
- Unwatch from View Watched Threads (View|Message|Watched Thread with Unread)
- 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.
- Watch in a flat sort
- Watch in threaded sort
- Unwatch in a flat sort
- Unwatch in threaded sort
- Message window: Watch and unwatch with thread window set to different views. Make sure icon changes in thread pane accordingly.
- Message window: Watch and unwatch with thread window set to different sorting. Make sure icon changes in thread pane accordingly
- Do a Watch on an Ignored thread. Verify icon changes to Watch although you didn't unignore first
- Repeat all of the above tests using Context menu item
- Repeat all of the above tests using mnemonic
- Repeat all of the above tests in a 3 pane ui ( message pane shown)
- Repeat all of the above tests in a 3 pane ui ( message pane hidden)
- Repeat tests in standalone window.