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: Reply and Quoting Message

Feature Test Spec: Mail and News Component

Mail and News Component: Reply and Quoting Message

Written by Peter Mock
Updated by Esther Goes

References

Composition UI spec
Master Messenger UI spec

Description

This test spec focusing on the act of quoting a mail or news message. Replying to a mail message can follow under three general areas which include: 1) reply to plain text message, 2) reply to html message, and 3) reply to a mixture of plain text and html.

Preferences

Open the preference dialog controlling the how mail messages will be quoted.

  1. Verify there is a preference for quoting for mail
  2. Verify under quoting option for mail,
    1. Verify there is an option to enable or disable quoting
    2. When quoting is enabled, verify you have the option to:
      1. start reply above quoted text
      2. start reply below quoted text
      3. start reply by selecting the quoted text
  3. Repeat the previous section for a news article (message).
  4. Verify the default behavior is to start the reply above the quoted text.

Replying to different message contents

  1. Reply to the following Plain Text message. Verify the text is quoted correctly.
    1. Empty message area
    2. Space
    3. Multiple spaces
    4. Single character (non space)
    5. Word
    6. Sentence
    7. Paragraph
    8. Extended character (accented)
  2. Reply to the following HTML message. Verify the text is quoted correctly.
    1. Empty message area
    2. Space
    3. Multiple spaces
    4. Normal text
    5. Bold text
    6. Italic text
    7. Underline text
    8. Bold italic text
    9. Bullet list
    10. Number list
    11. Indented text
    12. Inserted image
    13. Table
    14. Color text
    15. Font size

Replying to Plain Text Messages

Set your default editor to use the plain text compose editor.

  1. Replied to a message with Message preference set to NOT to automatically quote the original message when replying. Expected result: Verify the original text is not quoted.
    1. Reply to a Plain Text message using the Reply button then send
    2. Reply to a Plain Text message using the Reply All button then send
    3. Reply to a Plain Text message using the menu item to Reply then send
    4. Reply to a Plain Text message using the menu item Reply All then send
    5. Reply to a Plain Text message using the context menu to Reply then send
    6. Reply to a Plain Text message using the context menu to Reply All then send
    7. Reply to a forwarded Plain Text message using the Reply button then send
  2. Replied to a message with Message preference set to automatically quote the original message when replying and to start my reply above the quoted text. Expected results: 1) Verify the reply is above the quoted text. 2) Verify there is at least one blank line separating the reply and the new text. and 3) Verify there is a character (such as a ">" character) indicating that text has been quoted
    1. Reply to a Plain Text message with one recipient using the Reply button then send.
    2. Reply to a Plain Text message with one recipient using the menu item Reply then send
    3. Reply to a Plain Text message with one recipient using the context menu to Reply then.
    4. Reply to a Plain Text message with multiple recipients using the Reply button then send
      1. Also verify there are multiple people listed in the To: field
    5. Reply to a Plain Text message with multiple recipients using the menu item Reply All then send
    6. Reply to a Plain Text message with multiple recipients using the context menu Reply All then send
    7. Reply to a forwarded Plain Text message using the Reply button then send
  3. Replied to a message with Message preference set to automatically quote the original message when replying and to start my reply below the quoted text. Expected results: 1) Verify the reply is below the quoted text. 2) Verify there is at least one blank line separating the reply and the new text. and 3) Verify there is a character (such as a ">" character) indicating that text has been quoted
    1. Reply to a Plain Text message with one recipient using the Reply button then send.
    2. Reply to a Plain Text message with one recipient using the menu item Reply then send
    3. Reply to a Plain Text message with one recipient using the context menu to Reply then.
    4. Reply to a Plain Text message with multiple recipients using the Reply button then send
      1. Also verify there are multiple people listed in the To: field
    5. Reply to a Plain Text message with multiple recipients using the menu item Reply All then send
    6. Reply to a Plain Text message with multiple recipients using the context menu Reply All then send
    7. Reply to a forwarded Plain Text message using the Reply button then send

Reply to HTML Mail Messages

Repeat the above sections except reply to HTML mail messages and set your default editor to use the HTML compose editor.

  1. Replied to a message with Message preference set to NOT to automatically quote the original message when replying. Expected result: Verify the original text is not quoted.
    1. Reply to a HTML message using the Reply button then send
    2. Reply to a HTML message using the Reply All button then send
    3. Reply to a HTML message using the menu item to Reply then send
    4. Reply to a HTML message using the menu item Reply All then send
    5. Reply to a HTML message using the context menu to Reply then send
    6. Reply to a HTML message using the context menu to Reply All then send
    7. Reply to a forwarded HTML message using the Reply button then send
  2. Replied to a message with Message preference set to automatically quote the original message when replying and to start my reply above the quoted text. Expected results: 1) Verify the reply is above the quoted text. 2) Verify there is at least one blank line separating the reply and the new text. and 3) Verify there is a blue bar indicating that text has been quoted in HTML.
    1. Reply to a HTML message with one recipient using the Reply button then send.
    2. Reply to a HTML message with one recipient using the menu item Reply then send
    3. Reply to a HTML message with one recipient using the context menu to Reply then.
    4. Reply to a HTML message with multiple recipients using the Reply button then send
      1. Also verify there are multiple people listed in the To: field
    5. Reply to a HTML message with multiple recipients using the menu item Reply All then send
    6. Reply to a HTML message with multiple recipients using the context menu Reply All then send
    7. Reply to a forwarded HTML message using the Reply button then send
  3. Replied to a message with Message preference set to automatically quote the original message when replying and to start my reply below the quoted text. Expected results: 1) Verify the reply is below the quoted text. 2) Verify there is at least one blank line separating the reply and the new text. and 3) Verify there is a blue bar indicating that text has been quoted in HTML.
    1. Reply to a HTML message with one recipient using the Reply button then send.
    2. Reply to a HTML message with one recipient using the menu item Reply then send
    3. Reply to a HTML message with one recipient using the context menu to Reply then.
    4. Reply to a HTML message with multiple recipients using the Reply button then send
      1. Also verify there are multiple people listed in the To: field
    5. Reply to a HTML message with multiple recipients using the menu item Reply All then send
    6. Reply to a HTML message with multiple recipients using the context menu Reply All then send
    7. Reply to a forwarded HTML message using the Reply button then send

Reply to a combination of the previous two test sections.

  1. Combination of the above. Verify the message is quoted correctly and verify the message has been sent correctly.
    1. Reply to a HTML message using the Plain Text editor.
    2. Reply to a replied HTML message using the Plain Text editor.
    3. Reply to a replied Plain Text message using the Plain Text editor.
    4. Reply to a forwarded HTML message using the Plain Text editor.
    5. Reply to a Plain Text message using the HTML editor.
    6. Reply to a replied Plain Text message using the HTML editor.
    7. Reply to a replied HTML message using the HTML editor.
    8. Reply to a forwarded Plain Text messages using the HTML editor.

Plain Text Quoting attributes

Automatic quoting is enabled for all tests. These changes do not apply until you view a sent reply.

  1. Verify the font style can be changed on the quoted text.
    1. Change the style setting to "Bold" and send a reply to a Plain Text message. Verify the quoted text is displayed as bold
    2. Change the style setting to "Bold Italic" and send a reply to a Plain Text message. Verify the quoted text is displayed as bold italic
    3. Change the style setting to "Regular" and send a reply to a Plain Text message. Verify the quoted text is displayed as regular
    4. Change the style setting to "Italic" and send a reply to a Plain Text message. Verify the quoted text is displayed as italic
  2. Verify the font size can be changed on the quoted text.
    1. Change the size setting to "Bigger" and send a reply to a Plain Text message. Verify the quoted text is displayed with bigger font size
    2. Change the size setting to "Smaller" and send a reply to a Plain Text message. Verify the quoted text is displayed with smaller font size
    3. Change the size setting to "Regular" and send a reply to a Plain Text message. Verify the quoted text is displayed with regular font size
  3. Verify the font color can be changed on the quoted text.
    1. Change the color setting from the default color to another color then send a reply to a Plain Text message. Verify the quoted text is displayed in the color that you specified
    2. Change the color setting to a different color then send a reply to a Plain Text message. Verify the quoted text is displayed in the color that your specified
    3. Change the color setting back to the default color then send a reply to a Plain Text message. Verify the quoted text is displayed in the color that your specified
  4. Verify the font width can change on the quoted text.
    1. Change the font width to Variable width font then send a reply to a Plain Text message. Verify the quoted text is displayed to variable width. (The width of the characters should be all different.)
    2. Change the font width to Fixed width font then send a reply to a Plain Text message. Verify the quoted text is displayed to variable width. (The width of the characters should be all the same.)