You are here: Mozilla MailNews Functional / UI Tests > Mail & News: Composition
Feature Test Spec: Mail and News Component
Mail and News Component: Composition
Written by Peter MockUpdated by Esther Goes
References
UI Specification: Composition UI spec
Master Messenger UI spec
Description
this test spec applies for plain text and html editor, unless noted.
Preferences
(Open the account profile settings to display the check box for the default mail compose editor window)
- Set the account settings for plain text editor by unchecking the
box: "Compose messages in HTML for"
- Verify that this setting can be set to enable this option, by removing the check in the box
- Verify that this setting is persistent after you close the preference dialog
- Set up multiple user accounts. Verify you can set one account to use plain text and the other set to html editor
- Set the format preference for HTML editor
- Repeat the above set of tests for HTML editor.
Visual
Start a new mail message. Verify the properties that make up the compose window. (brief tests because area overlap with menus test specs).
- Verify the compose window is made up of these areas:
- Title
- Menus
- Addressing pane
- Attachment area
- Subject field
- HTML tool bar (available only in HTML compose editor)
- Status bar
- Verify changes from 4.x
- The option button has been removed from compose toolbar.
- The option pane has been removed from the Addressing pane.
- The attachment pane is located to the right of the Addressing
area.
- A vertical scroll bar appears in the attachment area if there are more attachment than can be listed.
- There is a tool tip that displays the complete name of the attachment if the name is longer than the width of the attachment area.
- The intelligent send attachment drop down menu is now located under the Message menu
Basic Functionality
- Start a mail compose window from different communicator windows.
- Start a new mail message from the browser window
- Start a new mail message from the page compose window
- Start a new mail message from the address book
- Start a new mail message from the messenger window
- Start a new mail message from the message window
- Start a new mail message from a new compose window.
- Start a mail compose window using the following methods
- Menu items
- Short cut key
- Mnemonics
- Toolbar
- Use the Options Menu|Format after opening the compose window and
change to Plain Text to see that the Formatting toolbar is disabled.
- On the windows platform, when account selected is in HTML format
- On the macintosh platform, when account selected is in HTML format
- On linux platform, when account selected is in HTML format
- Start a Plain Text compose window and create a message which
contains:
- Empty message area
- Space
- Multiple spaces
- Single character (non space)
- Word
- Sentence
- Paragraph
- Extended character (accented)
- Start a HTML compose window and create message which contains:
- Empty message area
- Space
- Multiple spaces
- Normal text
- Bold text
- Italic text
- Underline text
- Bold italic text
- Bullet list
- Number list
- Indented text
- Inserted image
- Table
- Color text
- Font size
- Add different HTML (as time permits)
- Address mail message primary address:
- Single address
- Multiple address
- Single Newsgroup
- Multiple Newsgroup
- Address mail message with multiple types:
- To: and Cc:
- To: and Bcc:
- To:, Cc:, and Bcc:
- To: and Newsgroup:
- To:, Cc:, Bcc:
- To:, Cc:, Bcc:, Newsgroup
- Newsgroup and Follow-up to:
- To: and Reply to:
- Enable different message options:
- Uuencode attachments
- Return receipt
- Intelligent Send
- Send as Plain Text
- Send as HTML only
- Send as Plain Text and HTML
- Fcc:
- Compose different type of mail/new messages then
- Save as Draft
- Save as Template
- Send message later
- Synchronize mail folder
- Go off-line
Additional Test cases
- Set Message preference to "Send message that use 8 bit characters"
-> "As is" by unchecking the box.
- Send yourself a plain text message with no extended characters then view the page source. All the characters should display normally.
- Send yourself a plain text message with extended characters then view the page source. All the characters should display normally.
- Set Message preference to "Send message that use 8 bit characters"
-> "Using the 'quoted printed' MIME encoding"
- Send yourself a plain text message with no extended characters then view the page source. All the characters should display normally.
- Send yourself a plain text message with extended characters then view the page source. All the extended characters should be converted to two characters octals. (Example 0A) The non-extended characters should be displayed normally.
- Set Message preference to "As is" by unchecking the box. Compose
one a mail message that contains extended and plain characters
- Verify the non-extended character is displayed correctly.
- View the Page Source, verify the non-extended character is displayed correctly.