You are here: Mozilla MailNews Functional / UI Tests > Message Filters: General UI
Feature Test Spec: Mail and News Component
Mail and News Component: Message Filters: General UI
Written by Laurel CarlsonDescription
This testspec is intended to cover testing the general UI properties, aesthetics, content for User Created Message Filters with an overall look for mail and news oriented selections. Functionality of the filter feature is broken into separate testspecs focusing on individual feature related topics.
References:
Mail/news UI specs on Mozilla:
http://www.mozilla.org/mailnews/specs/
- Filter messages accessible from:
- 3 pane mail/news window
- Edit menu
- Account Central page (page which displays when server/account level selected)
- standalone Message window
- 3 pane mail/news window
- Main Filters Dialog:
- Should default to mail/main Inbox if no selection
- Should launch to default account if selected account is not filter-capable (AOL)
- Should launch with selected scope based on selection
- Mail server/account level
- Mail folder
- Mail message
- thread pane
- message pane
- message window
- News server/account level
- Newsgroup
- News message
- thread pane
- message pane
- message window
- Scope dropdown list should show and be able to make selection from full server/folder/group hierarchy
- List of existing filters available:
- should be empty on initial access
- slider/scrollbar appears upon sufficiently populated list
- should be able to order the filters in the list: up/down
- Switching to other scope/folders/groups refreshed dialog correctly as well as it's list
- Clearly marked which filters are disabled and which are enabled
- Clear method to turn filters on and off
- Clearly marked button/other method of creating new filter -- "New" button
- Clearly marked button/other method of editing an existing
filter -- "Edit" button
- should be disabled if no filter selected in list
- Clearly marked button/other method of deleting an existing
filter --"Delete" button
- should be disabled if no filter selected in list
- Cancel provision
- OK/commit provision
- Main dialog Tab order
- Main dialog mnemonic access (not implemented -- bugzilla bug 40761)
- Filter rules subdialog:
- More opens additional criteria lines
- Fewer displays one less criteria line (disables on minimum single line)
- Dropdowns for all criteria operable on each criteria line
- Criteria accessible easily and clearly displayed
- Filter actions accessible easily and clearly displayed
- Filter action value dropdown changes or is hidded based on
action chosen
- Move to Folder (default) shows default account
- Move to Folder opens to full folder hierarchy when pulled down
- Move to Folder shows account name and folder after being selected, lasts through exit
- Change Priority displays value dropdown showing list of priority values
- Mark Read has no value dropdown displayed
- Delete has no value dropdown displayed
- action list and values display refreshes properly when switching among the choices
- Each value criteria is selectable and operational.
- can type values in text or integer fields
- can select each item in dropdown lists
- Date criteria changeable (Note: date control widget not
implemented -- bugs 90289 & 92174)
- by date widget
- by typing replacement value
- Mnemonics (Note: not implemented, bug 40761)
- Tab order
- Other/Misc tests:
- Filter dialog and its subdialogs moveable around screen
- Subdialogs close when main filter dialog closed
- Exit Communicator with search dialog open -- should either exit
gracefully or bring dialog to foreground:
- open to main dialog only
- open to subdialog
- Migrate filters:
- Make sure 4.x filters migrate, are shown in ui for 6.x
- Check to make sure values are transferred correctly for valid
6.x criteria:
- enabled/disabled state preserved correctly
- same criteria still specified
- folders specified as destinations
- text strings in criteria value boxes
- custom headers (newly implemented, bugzilla bug
16902)
- Check handling of 4.x criteria, values, actions which are
invalid for 6.x:
- date criteria, values
- status criteria, values (status criteria not implemented in 6.x, ref: bugzilla #40472 -- will be applicable if After-the-Fact implemented, bug 11033)
- Age in Days criteria, values
- Ignore Thread (not implemented in 6.x)
- Watch Thread (not implemented in 6.x)
- ... any more?
- Check that migrated filter values can be edited, particularly those which were invalid
- New Feature: Prefill filter with sender of selected message - covered in separate testplan