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: Delete Messages

Feature Test Spec: Mail and News Component

Mail and News Component: Delete Messages

Written by Sheela Ravindran and Esther Goes

References

UI Specification: Used Nova Specs (not available at this time)

Description

Deleting/Canceling messages from (Mail & News). Perform the following test cases for multiple and single message. Also verify these test cases are executed on messages in Imap, POP and Local Folder. The delete model used in all these test cases are "Move it to Trash folder".

Basic Scenarios - Delete/Cancel

  1. Message can be deleted/canceled from various Mail/News windows
    1. 3 Pane UI
    2. Message Window (stand alone)
  2. Ways to delete/cancel a Message
    1. Menu
    2. Toolbar (not for a selected News article)
    3. Mnemonics
    4. Mouse (drag and drop to Trash only for a Mail message, not News articles)
    5. Context Menu
  3. Number of messages that can be deleted/canceled
    1. Single message
    2. Multiple messages
    3. Selective messages (Example on Windows, use the Ctrl+Mouse click, On Mac, use Cmd+Mouse click. On Unix, use Ctrl+Mouse click.)
    4. All messages
  4. Cancel messages from Newsgroups
    1. You are the one who posted the message, verify it allows the cancel
    2. You are not the who posted the message, verity you receive a message stating you cannot cancel the message because you are not the one who posted it.
    3. Verify you cannot Undo a cancelled message
    4. Verify you cannot cancel multiple selected news messages, verify the dlg with alret come up stating 'you can cancel only one article at a time'. The Cancel menu items are disabled in this scenario.
  5. Delete Mail messagges from various folders including the following, that reside within various Accounts (Identities). Verify the message is moved to the Trash (Preference for IMAP servers should have "Move it to the Trash Folder" selected)
    1. Account Inbox
    2. Account Sent
    3. Account Draft
    4. Unsent Messages
    5. Template
    6. A User defined folder for each account
  6. Delete Mail messages from various Trash folders, verify the message is no longer in Trash or any other folder
    1. Account Trash
    2. Local Trash
  7. Drag and Drop messages to trash folder. Test on both the accounts with single and multiple messages. Verify that the message is cleared from the folder in the thread pane and the message is in the trash folder.
    1. Imap Account -From Inbox and other folders
    2. POP Account- From Inbox and other folders
  8. Delete messages using menu item "Select All" from the edit menu. Delete messages using toolbar button or menu item. Verify that messages are deleted and moved to trash folder.
    1. Imap folders
    2. POP folders
    3. Local folders
  9. Deleting messages from different Mail Identies (Accounts)
    1. POP account (server)
    2. IMAP account (server)
  10. Canceling messages from different News Identities

Expanded Scenarios - Delete/Cancel

  1. 3 Pane UI collapsed to 2 pane UI
    1. Collapse the Thread pane only and delete/cancel a message from the Message pane
    2. Collapse the Message pane only and delete/cancel a message om the Thread pane
    3. Collapse the Sidebar (aka Folder pane) only and delete/cancel a message from either Message or Thread pane
  2. 3 Pane UI collapsed to 1 pane UI
    1. Collapse the Thread pane and Folder pane then delete/cancel a message from the Message pane
    2. Collapse the Sidebar (aka Folder pane) and Message pane then delete/cancel a message from the Thread pane
  3. Delete a Mail message when the number of messages in the mail folder is:
    1. No message
    2. 1 message in the folder -verify the message is deleted and Delete becomes disabled after the deletion
    3. 2-10 messages in the folder -verify the selected message/s is deleted
    4. 11-50 messages in the folder -verify the selected message/s is deleted
    5. 51-XXXX messages in the folder -verify the selected message/s is deleted
  4. Interrupting deleting a Mail message when the number of messages in the mail folder is:
    1. 1 message -verify the message is not deleted (this can only be tested if it is a very large message and you have a slow system) otherwise just test to see that there are no crashes or strange behaviour.
    2. 2-10 messages in the folder -verify some of the selected message/s are not deleted (above statement "this can only be tested..." applies)
    3. 11-50 messages in the folder --verify some of the selected message/s are not deleted (above statement "this can only be tested..." applies)
    4. 51-1000 messages in the folder -verify some of the selected message/s are not deleted (above statement "this can only be tested..." applies)
  5. Delete/Cancel messages in a thread list
    1. Sort by thread and select one from the thread list, delete/cancel and verify the selected message is the only one deleted/canceled
    2. Mail only- Sort by thread and select multiple messages in the middle of the thread list and delete, verify only the selected messages are deleted
    3. New only- Verify you cannot cancel multiple message, when multiple news messages are selected the Menu items and Context menu items for cancelling are disabled.
  6. Delete Original messages, Replied messages and Forward messages
    1. Verify the message is move to the Trash Folder that belongs to the account you are deleting from.
    2. Verify Edit/Undo copies the message in the Trash back to the folder it came from, (Currenty it's a copy, no mention in dogbert or nova spec that the behaviour should be a move instead of a copy. Because it's a move the message is in two places, need to check that)
  7. Delete messages from different sort orders for the columns in the Thread pane
  8. Delete messages from threaded view. Verify that the sort order does not change. Verify that deleting the parent deletes all the child messages tagged to that parent (Known Bug)
  9. Verify Delete tool bar button is enabled after using the "Next" navigate button going through the unread messages.
  10. Delete messages using Shift+Delete:
    1. Verifying the message by-passes the Trash folder and is no longer in any folder.
    2. Verify selecting Edit/Undo (before you change folders) will place the message back in the folder
  11. Deleting messages from Search Messages dialog (News messages cannot be cancelled from this dialog)
    1. Verify the Delete Message button is enabled after selecting a mail message.
    2. Verify the message is deleted (moved to Trash), when clicking on the Delete Message button
    3. Verify both the Delete Message button and context menu item are disabled if the Search was on a Newsgroup and a news message is selected.
  12. Deleting messages while Offline (News messages cannot be cancelled while offline)
    1. Verify all Delete options are enabled when a mail message is selected.
    2. Verify the mail message is deleted (moved to Trash), when clicking on any of the Delete options
    3. Verify the Cancel menu items are disabled if a news message is selected while offline.
  13. Set the preference "Empty trash on exit" in the preference panel.
    1. Delete single or multiple messages from different account and verify that when you quit and launch the application trash folder is emptied.
    2. Verify the above for Imap, POP and Local folder Trash folders.
  14. Visual
    1. Verify there is feedback through the status/progress bar

Stress Scenarios - Delete/Cancel

  1. Verify you are able to Delete mail messages with the following and verify the deleted message w/attachment is moved to the Trash folder
    1. large article
    2. article with attachments
    3. .html
    4. .text
  2. Verify for one of the above scenarios, delete works using the Delete context menu item
  3. Verify for one of the above scenarios, delete works using the drag n drop to the trash
  4. Verify you can Cancel news articles using the following, the canceled message is removed from the newsgroup (Note, you can only cancel News messages that you posted).
    1. large article
    2. article with attachments
    3. .html
    4. .text
  5. Verify for one of the above scenarios using the Cancel context menu item
  6. Verify for one of the above scenarios, cancel works using the drag n drop to the trash