You are here: Mozilla MailNews Functional / UI Tests > Mail & News: Message labels
Feature Test Spec: Mail and News Component
Mail and News Component: Message labels
Written by Laurel CarlsonFeature description
Method for users to categorize messages in more meaningful and extensive way than with Flag. Label text and color is editable to better fit user's specific need.
References
Labels UI spec:http://www.mozilla.org/mailnews/specs/labels/
Bugzilla query:Open
Labels bug reports
-
General UI components :
- Menu item Message|Label
- Should be available from thread pane, message pane, standalone
- Should have a dropdown showing Labels as configured in prefs
- Should be available for all account types
- Should show color and text for label selectionsnote: color squares on menu probably not available first release - bug 110099
- Message context menu:
- Should be available from thread pane, message pane, standalone
- Should have a dropdown showing Labels as configured in prefs
- Should be available for all account types
- Keyboard shortcut access?
- Label Column in thread pane
- Hidden by default
- Column heading should be text "Label" instead of an icon
- Label as Filter action in filter rules dialog
- Action dropdown should provide options for each Label (text & color default according to spec)
- Preferences panel
- Label text default according to spec
- Label text field editable
- Label color default according to spec
- Clicking color for a label displays color palette
- Button for returning to default colors (not text, too?)
- Menu item Message|Label
-
Applying or changing Label
- From Main menu
- Apply a label to message which previously had no label
- single message selection
- multiple selection
- make sure each label can be selected and applied
- after applying a label the entire message line in thread pane should change to the appropriate color
- after applying a label the Label column should reflect text for the label
- Apply label to message which is already labeled
- single message selection
- apply different label than was previously selected
- apply same label -- should be a no-op, no adverse effects
- apply None selection from menu
- after applying a label the entire message line in thread pane should change to the appropriate color
- after applying a label the Label column should reflect text for the label
- multiple selection
- apply different label than previously selected to multiple selection having all same label type
- apply None to multiple selection having varied label types
- after applying a label the entire message line in thread pane should change to the appropriate color for all messages in selection
- after applying a label the Label column should reflect text for the label for all messages in selection
- make sure each label can be selected and applied correctly
- single message selection
- Apply from standalone window, make sure thread pane appropriately updated
- Apply a label to message which previously had no label
- From Context menu -- ?? Will we have a (body) context menu?
-
Changing via Label Column in thread pane
probably not in first release -- see bug
113851
-
Clicking on the message header in the label
column should cycle between the available labels and no
label.
- message pane open
- message pane closed
-
Make sure all labels can be selected and
applied via label column cycle-through:
- apply different label
- apply None
- apply same label
-
Clicking on the message header in the label
column should cycle between the available labels and no
label.
- Display characteristic tests for selecting labeled messages --
See spec for visual example.
- If message header which has a label is selected, the text
color changes to white and the background highlight color is
the color of the Label .
- verify this for all label colors
- What if user has message displayed and changes color in prefs? (probably no-op until selected again)
- If a message is selected and the user adds/removes a Label, there is no feedback that there request was honored until they deselect the message.
- If message header which has a label is selected, the text
color changes to white and the background highlight color is
the color of the Label .
- Perform operations on labeled messages, check for display
problems, contrast problems on state change:
- Delete message -- make sure next message selected has appropriate color, display attributes, no carryover problems from labeled message
- Mark Read/Unread
- check for column/green diamond visibility
- Bold text visibility
- check for status column visibility
- toggle unread/read state and make sure toggling back and forth causes no display problems
- Reply -- check status column
- Forward -- check status column
- Watch thread -- watch for icon visibility
- Download for Offline - watch for icon visibility
- Change Views
- Change Sort
- change to Label Sort, verify sort order to spec
- change among other sorts to verify display is ok
- Get New Messages -- check Newness/green arrow visibility
- Change column display -- make sure repaints appropriately
- Resize thread pane/mail window -- make sure repaints appropriately
- Minimize then restore window -- should repaint appropriately
- Repeat all the above with each default color
- Repeat all the above with various changed colors
- Rebuild summary file
- Label should move with the message
- Move
- Copy
- Drag & Drop
- Delete/Move to trash
- Move folder with labeled messages to trash, drag back to account
- Undo the above actions
- Single selection
- Multiple selection
- Move to same account
- IMAP -- applied labels should be maintained/visible when logging into account on other machine or profile
- Webmail: (Note: Server limitation: can't store label. So, Labels lost when moving/copying to other folders same account, won't be seen on same account when shown on other machine.)
- AOL: (Note: Server limitation: can't store label. So, Labels lost when moving/copying to other folders on same account, won't be seen on same account when shown on other machine.)
- Move to another account:
- Note -- see bug 127141
- From Main menu
-
Changing label name and color (Prefs)
- Change color only:
- single label
- multiple labels
- all labels
- changes appear in prefs:
- immediately saved on OK
- maintained through exit
-
changes appear in Label
menu:note:color squares on menu
probably not available first release -- bug
110099
- immediately on OK
- maintained through exit
- changes applied to thread pane:
- labeled messages
- label column content
- label column cycles through labels and shows changes
- changes in thread pane shown immediately on confirm OK to changes
- changes in thread pane maintained through exit
- changes applied to Filter Action dropdown in filter ui:
- changes shown immediately on confirm OK to changes
- try when filter ui is closed while changing labels
- try when filter ui is open while changing labels
- changes maintained through exit
- changes shown immediately on confirm OK to changes
- Change text only
- single label
- multiple labels
- all labels
- changes appear in prefs:
- immediately saved on OK
- maintained through exit
- changes appear in Label menu:
- immediately on OK
- maintained through exit
- changes applied to thread pane:
- labeled messages
- label column content
- label column cycles through labels and shows changes
- changes in thread pane shown immediately on confirm OK to changes
- changes in thread pane maintained through exit
- changes applied to Filter Action dropdown in filter ui:
- changes shown immediately on confirm OK to changes
- try when filter ui is closed while changing labels
- try when filter ui is open while changing labels
- changes maintained through exit
- changes shown immediately on confirm OK to changes
- Change both text and color
- single label
- multiple labels
- all labels
- changes appear in prefs:
- immediately saved on OK
- maintained through exit
- changes appear in Label menu:
- immediately on OK
- maintained through exit
- changes applied to thread pane:
- labeled messages
- label column content
- label column cycles through labels and shows changes
- changes in thread pane shown immediately on confirm OK to changes
- changes in thread pane maintained through exit
- changes applied to Filter Action dropdown in filter ui:
- changes shown immediately on confirm OK to changes
- try when filter ui is closed while changing labels
- try when filter ui is open while changing labels
- changes maintained through exit
- changes shown immediately on confirm OK to changes
- Reset to default (color only?)
- single label
- multiple labels
- all labels
- changes appear in prefs:
- immediately saved on OK
- maintained through exit
- changes appear in Label menu:
- immediately on OK
- maintained through exit
- changes applied to thread pane:
- labeled messages
- label column content
- label column cycles through labels and shows changes
- changes in thread pane shown immediately on confirm OK to changes
- changes in thread pane maintained through exit
- changes applied to Filter Action dropdown in filter ui:
- changes shown immediately on confirm OK to changes
- try when filter ui is closed while changing labels
- try when filter ui is open while changing labels
- changes maintained through exit
- changes shown immediately on confirm OK to changes
- Change color only:
-
Filter Action
- Change label properties doesn't adversely affect existing
filters:
- Check filter rules dialog for existing filters
- immediately on label change
- within session of label change when filter fires
- maintained through exit
- Check filter file on disk (rules.dat) for existing filters
- Get New Messages which will fire the existing filters:
- make sure filter changes to changed label text or color appropriately
- no other weird effects on filters
- Check filter rules dialog for existing filters
- Change label properties doesn't adversely affect existing
filters:
-
Additional tests/notes:
- Tests should apply (unless otherwise noted) for messages in
various types of accounts:
- IMAP
- POP
- Local Folders
- News
- Webmail: (Note: Server limitation: can't store label. So, Labels lost when moving/copying to other folders same account, won't be seen on same account when shown on other machine.)
- AOL: (Note: Server limitation: can't store label. So, Labels lost when moving/copying to other folders on same account, won't be seen on same account when shown on other machine.)
- New profiles
- Migrated profiles
- Label column should be hidden for Search Messages UI
- Labels available in Quick Search
- Priority Column now has no color so as not to conflict with Label colors
- Tests should apply (unless otherwise noted) for messages in
various types of accounts: