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.



Feature Testspec

        Project:  MachV/Mozilla
        Mail and News component
        Search in 3-pane, a.k.a.  QuickSearch

Written by: Laurel Carlson

Last Modified :

 06/19/02  various cases added/updated
12/04/01  draft for machv

References:

QuickSearch UI spec:   http://www.mozilla.org/mailnews/specs/qksearch/ 
Main Search Messages UI Spec:  http://www.mozilla.org/mailnews/specs/search/


  1. General UI components:
    1. Menu item View|Show/Hide|Search bar
      1. hides or shows search bar above thread pane when toggled
      2. menu item shows checkmark next to menu item when enabled
      3. menu item shouldn't be in standalone message window
      4. should be available in main window if message pane closed
    2. Search bar components:
      1. Descriptive/criteria text : "Subject or sender contains"
      2. text field
      3. Advanced button which takes user to the Search Messages UI
      4. Clear button which clears search text field and results
      5. Tooltip over text field ??
    3. Search bar doesn't display when an account level is selected in folder pane
    4. Search bar should be available in main window when message pane open or closed
    5. Tab order:
      1. accessible by tabbing
      2. tab order clockwise in 3- pane, so tab out of QS would be to thread pane
    6. Mnemonic access
    7. Preferences: 
      1.  None.  No prefs associated with this feature  -- maybe in the future to allow criteria options
  2. Initiating searches - Basics:
    1. When text is typed in the search bar text field, matches display in the thread pane
    2. When additional text is added the search further refines and displays appropriate results in thread  pane
    3. When backspacing the search scope adjusts appropriately and displays matches relative to the text
    4. No selection is made in the search/thread pane by default
    5. Search is done only on the folder or group selected in the folder pane
    6. Search results are displayed using the same sort order as set before the search was intiated
      1. initiate from various flat sort methods
      2. initiate from threaded view -- threading not implemented in results view, results should default to date sort.
    7. Number of matches are displayed in the status bar
  3. Clearing searches - Basics:
    1. Backspace to beginning of text field
    2. Clear button 
    3. Select another folder
    4. When search is cleared, user should be returned to full folder contents
    5. Select an account level - various accounts
    6. Selection made in results should be preserved in folder view, if applicable:
      1. return to full folder view (View All Messages) - selection made in results should be preserved
      2. return to folder view where view is set to other than All, but message should be in the view - selection made in results should be preserved
        • selection made in the results is read and some messages in thread are unread, return to folder view set to Threads with Unread
        • selection made in results is part of watched thread with unread items, return to Watched view
      3. return to folder view where view is set to other than All, but message should NOT be in the view - selection made in results should not show
        • selection made in results is read, return to folder view set to Unread 
        • selection made in results is read and all members of the thread are read, return to folder view set to Threads with Unread
      4. no selection was made in results - no selection should appear when returning to folder view
  4. Operations on search results :
    1. Mark/read - should reflect immediately in search results and carry to folder view when search cleared
    2. Open result to standalone window
    3. Reply
    4. Forward
    5. Label
    6. Delete
      1. Delete single message selection
      2. Delete multiple selection
      3. Delete enough message causing scrollbar to disappear and return to folder view -- ref bug 139845
      4. Delete and Undo -- ref bug 
        • Undo from results
        • Undo after returning to folder view
    7. File
      1. Move
      2. Copy
      3. Drag & Drop -- should be available
      4. File enough messages from results causing scrollbar to disappear and return to folder view -- ref 139845
      5. Undo file operation
        • Undo from results
        • Undo after returning to folder view
    8. Sort
      1. Results should display initially in same sort as in folder view
        • initiate from various flat sort methods
        • initiate from threaded view -- threading not implemented in results view, results should default to date sort
      2. Sort should be available and function correctly in results
      3. Sort results, then search again - should sort according to most recent sort specified
      4. Sort results, then clear should return to full folder view in the most recent sort specified
    9. Navigate
      1. Next Unread
        • try when there are unread messages within the search results view
        • try when there are no unread messages within the search results view, but there are unread messages in the full folder view
      2. Cross folder navigation
        • is available only if when there are no more unread messages in folder (either in results view or full folder view)
      3. Next Unread Thread -- should be unavailable
    10. Columns 
      1. change/reorder columns
      2. no thread column should be available in search mode
    11. Views|Messages changes:
      1. Should not be able to change view in results?  Bug 148001
      2. See bug  107000  Results should match from folder's view setting, so no matches should be shown which weren't available in the view:
        • All
        • Unread only
        • Threads with unread
        • Watched (news only)
        • All with Ignored (news only)
    12. Change Header views 
      1. All
      2. Brief
      3. Normal
    13. Show/Hide message pane
    14. Collapse/Expand:
      1. folder structure 
      2. account structure
    15. Appropriate toolbar buttons should be available in results when a message is selected:
      1. selection is made before scrolling
      2. selection is made after scrolling -- ref bug 134893
    16. Get Messages while in search results should add appropriate messages (which match search criteria) to results view
      1. Via Get Messages
      2. Via Biff
      3. in search results initiated from various folder View settings
      4. in search results sorted in various ways
  5. Returning to folder view:
    1. When returned to folder view, selection should be maintained if the selection is in set View for folder
      1. single selection
      2. multiple selection
    2. When returned to folder view, the same View|Messages setting should apply as before the search
      1. Threaded: check for proper threading after returning from search
      2. Check collapsed vs. expanded threads
      3. Unread:  check that only unread messages are present
      4. Threads with Unread:  check that only threads having unread
    3. When returned to folder view, all appropriate commands should be enabled and usable:
      1. Toolbars
      2. Menus
      3. Context menus
      4. Shortcuts
    4. When returned to folder view, changes in message state done in search results mode should be reflected in the folder view:
      1. Read/Unread state
      2. Replied/Forwarded
      3. Deleted
      4. Undo
      5. Label
      6. Flag
      7. Watched  - (news only)
      8. Ignored (news only)
  6. Criteria  tests:
    1. matching subject:
      1. various length strings
      2. special characters
      3. spaces
    2. matching sender:
      1. Display Name
        • long name
        • partial name
        • spaces
        • special characters
      2. email address
        • long address
        • partial address
        • weird email addresses
  7. Content tests - check display when selecting through results pane and returning to folder view with various message content
    1. web pages
    2. images
    3. other attachments
  8. Varied/Multiple Accounts:
    1. Make sure QuickSearch is usable with various account types -- should work with all types
      1. mail - POP
      2. mail - Local Folders
      3. mail - IMAP
      4. news 
      5. Webmail (Netscape only)
      6. AOL (Netscape only)
    2. Make sure QuickSearch acts appropriately when clearing a search by selecting folder in various accounts
    3. Make sure QuickSearch acts appropriately when clearing a search by selection in an account which pops up a login prompt (not yet logged in)
  9. Additional tests:
    1. Make sure QuickSearch is usable with offline feature:
      1. go offline then initiate search while offline, return to view when offline
      2. initiate search when online, return to view while offline 
      3. message icon for offline preserved from folder view to search results and back (bug 67359, not yet implemented)