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 CarlsonModified by Fenella Gor
References
None.
- Description: This feature testspec is intended to outline test
coverage for using the various Message|Mark commands on mail and news
messages.
- Mark Message should be initiated from:
- Thread pane
- 3 pane UI window (thread pane, folder pane and message pane shown)
- 2 pane UI window (thread pane and folder pane shown, message pane collapsed)
- 1 pane UI window (thread pane shown, folder pane and message pane collapsed)
- Message pane
- Message window (double click on message opens a message window)
- Thread pane
- Mark Message should be tested by:
- Menu item (Message|Mark)
- Mnemonic/hot keys
- Toolbar button dropdown (applies for newsgroups only)
- Keyboard shortcuts
- Mark|Message options
- as Read (M)
- Thread as Read
- All Read (Shift+C)
- Initial condition: Open a 3 pane UI window, message pane shown. Select the Inbox folder
- Mark Message should be initiated from:
- General testing: After marking message, check for appropriate
read/unread state:
- Thread pane: Unread column/diamond
- Thread pane: thread icon state
- Thread pane: item line bold attribute
- Thread Window unread count
- Message Center unread count
- Read/Unread state lasts through exit.
- Verifying Mark on mail messages
- 3 pane UI window (thread pane, folder pane and message pane
shown)
- Mark (selection) As Read Note: during Nova project Mark
Read/Unread was changed to toggle/checkmark single menu item.
- Initial condition: close message pane, select a unread message
- 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.
- 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
- When collapsed
- 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
- From Edit|Select All (or CTL+A); Mark as Read
- Mark as Read - Selection includes collapsed thread --verify that operation only done on displayed/top level message, it doesn't mark collapsed components
- Mark as Read when selecting thread using thread icon/spool --it should mark all thread components as Read
- 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)
- 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...
- Mark an item as Read by using the read/unread "diamond" column (green = unread, grey = read)
- Undo/Redo various Mark as Read operations
- 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.
- Initial condition
- Close message pane and then select a unread thread
- Enable/disable conditions:
- enabled in populated view for any single selection
- disabled in empty view
- enabled in message window
- disabled for multiple selection
- When collapsed: Mark Thread As Read changes both
- Focus on top level message
- Focus on nested reply
- When expanded: Mark Thread As Read changes both
- Focus on top level message
- Focus on nested reply
- Really large thread (apply to newsgroup only)
- Mark Thread as Read In a flat sort (eg: sort by subject)
- Mark Thread as Read In a threaded sort (eg: sort by
thread)
- when expanded
- when collapsed
- Undo/Redo mark thread read
- flat sort
- threaded sort
- when expanded
- when collapsed
- Mark Thread as Read In different views (View|Message):
- All
- Unread
- Threads with Unread
- Watched Threads with Unread
- 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.
- Initial condition
- Mark All Read
- Initial condition: Set messages to unread stage
- Enable/disable conditions:
- disabled in empty view
- generally enabled otherwise
- enabled in message window
- 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
- Cancel dialog (Mac)
- Single selection
- .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
- View Message All
- Undo/Redo mark All Read
- 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.
- Mark (selection) As Read Note: during Nova project Mark
Read/Unread was changed to toggle/checkmark single menu item.
- 2 pane UI window (thread pane and folder pane shown, message
pane collapsed)
- Repeat all of the above 3 pane UI window test cases.
- 1 pane UI window (thread pane shown, folder pane and message
pane collapsed)
- Repeat all of the above 3 pane UI window test cases
- Message pane
- Repeat all of the above 3 pane UI window test cases
- Message window (double click on message opens a message window)
- Repeat all of the above 3 pane UI window test cases
- 3 pane UI window (thread pane, folder pane and message pane
shown)
- Verifying Mark on newsgroup messages
- 3 pane UI window (thread pane, folder pane and message pane
shown) for newsgroup
- Repeat all of the above 3 pane UI window test cases for Mail.
- Mark Newsgroup Read - Message Center context menu item (not
available for mail folders in general)
- Initial condition: Select a newsgroup
- Enable/disable conditions: always enabled when selection is newsgroup, whether the group has unread items or not, or any level.
- Mark various groups over different servers
- Mark when group is open
- when newsgroup collapsed - verify it marks the group all Read
- when newsgroup expanded - verify it the entire all Read
- category group is open:
- the same category as you're marking is open; verify it marks all newsgroup Read
- a different category in the same overall group is open; it should mark all Read.
- Mark with large number of unread items
- Folder dropdown should lose bold attribute for newsgroup marked read
- No Undo/Redo
- Mark Newsgroup Read before you've downloaded header
- When selection is top level category As of Nova RTM, mark group read from top level category marks all the subcategories, too
- When selection is subcategory As of Nova RTM, mark group read from a subcategory only marks that category
-
Cross-posted messages: Verify marking a
cross-posted message marks message read/unread in all
recipient groups bug
43278
-
posted to different newsgroups
- same server
- different server
- mark single cross-posted message
- mark thread with cross-post
- mark all with cross-post
- mark by date with cross-post
-
posted to different newsgroups
- Mark All Read for different download header options: (not
applicable for mail)
- download all with no warning dialog/pref not set
- download all with warning dialog/pref set
- download chunk of header with warning dialog/pref set:
- check mark remaining headers read
- do not check mark remaining headers read
- 2 pane UI window (thread pane and folder pane shown, message
pane collapsed)
- Repeat the 3 pane UI window test cases for newsgroup (IV.A)
- 1 pane UI window (thread pane shown, folder pane and message
pane collapsed)
- Repeat the 3 pane UI window test cases for newsgroup (IV.A)
- Message pane
- Repeat the 3 pane UI window test cases for newsgroup (IV.A)
- Message window (double click on message opens a message window)
- Repeat the 3 pane UI window test cases for newsgroup (IV.A)
- 3 pane UI window (thread pane, folder pane and message pane
shown) for newsgroup