The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

Feature Testspec

Project: 5.0 (Seamonkey)
Mail and News component
Navigate: Mark

Original document was written by: Laurel Carlson for 4.5
Modified by: Fenella Gor for 5.0 (Seamonkey)

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


  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 (Underlined letters; windows eg alt/k or alt/m)
      3. Toolbar button dropdown(Apply to newsgroup only)
      4. Keyboard shortcuts(Press F and M simultaneously or just M)
    3. Mark|Message options
      1. as Read (M)
      2. Thread as Read
      3. by Date (C)
      4. 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 Read by Date dialog tests
        1. Test the general dialog controls:
          • Cancel works via button or ESC, or X
          • Each portion of the date box, DD MM YY, displays clearly
          • Each portion of the date, DD MM YY, can be changed by typing
          • Each portion of the date, DD MM YY, can be changed via the up/down arrow control
          • Date arrow control operates smoothly through full double digit range:
            • Day range should be 01-31
            • Month range should be 01-12
            • Year range should be 00-99
            • If century set (special format), range should be 19-(upper limit of ??)
        2. ON startup dialog defaults with current date
        3. Verify each portion of the date, DD MM YY can take single or double digit
      4. Mark Read by Date basic tests
        1. Initial condition: message pane is closed.
        2. Enable/disable conditions:
          • disabled in empty view
          • generally enabled otherwise
          • enabled in message window
        3. Mark read to current date
        4. Mark read to future date
          • future date within date range of messages in group (marks some)
          • future date after date range of messages in group (marks all)
          • use dates which will exercise changing each portion of date field:
            1. future date using day field
            2. future date using month field
            3. future date using year
        5. Mark read to past date
          • past date before date range of messages in group; verify it marks none
          • past date within date range of messages in group; verify it marks some
          • past date after date range of messages in group; verify it marks all
          • use dates which will exercise changing each portion of date field:
            1. past date using day field
            2. past date using month field
            3. past date using year
        6. Verify Mark Read by Date where parent message is within range, but reply is not.
          • parent is top level message
          • parent is a reply to top level message
          • parent is a nested reply
        7. Verify collapsed thread components are marked appropriately
        8. Verify new messages received display unread which fall into a prior Mark Read by Date operation's range.
        9. Mark Read by Date in different views (from View|Message), switch views.
          • All
          • Unread
          • Threads with Unread
          • Watched Thread with Unread
        10. Mark Read by Date in different sort
          • flat sort
          • threaded sort
            • When collapsed
            • When expanded
        11. Undo/Redo of Mark Read by Date
        12. 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 Read by Date, open the thread window and verify that the message's green icon is gone.
      5. 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. Marking in Category Groups (This gray section is in out-list at this point, reserve it just in case it comes back)
        1. no longer should have specific Mark Category command (??), but verify marking operations in category newsgroup
        2. Mark All: currently (4.04) marks all in the extended category newsgroup (root and all subcategories)
          • Mark All: currently (4.04) marks all in the extended category newsgroup (root and all subcategories)
          • from subcategory As of Nova RTM, mark all from a subcategory only marks that category
        3. Mark Read by Date
          • from top level category
          • from subcategory
      4. Cross-posted messages: Verify marking a cross-posted message marks message read/unread in all recipient groups
        1. posted to different newsgroups
          • same server (eg zia)
          • different server (eg poisonivy)
        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
        6. mark for later
      5. 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)


Copyright © 1998-1999 The Mozilla Organization.
Last modified May 14, 1999.