You are here: Mozilla MailNews Functional / UI Tests > Mail & News: Page Source (related to mail)
Feature Test Spec: Mail and News Component
Mail and News Component: Page Source (related to mail)
Written by Peter MockUpdated by Esther Goes
References
UI Specification:
Other: Dogbert's New Message (Compose)
Gromit's Mail Compose Specification
Description: These tests applies to Mail and News.
- Start a new Plain Text message
- Type in some text then send the message.
- Verify the Content-Type is
"text/plain; charset=us-ascii"
- Verify that there is no HTML comment tags
- Verify the time stamp from the server is correct. Example:
Received: from netscape.com ([208.12.40.134]) by dredd.mcom.com (Netscape Messaging Server 4.0) with ESMTP id F57EWQ01.8R8 for <pmock@netscape.com>; Thu, 7 Jan 1999 11:17:14 -0800
- Verify the time zone is correct for your region
- Verify the date stamp for the message that is used to displayed in the Thread pane is correct. Example: Date: Thu, 07 Jan 1999 11:17:13 -0800
- Verify the X-Mailer information is correct for the platform. Example: X-Mailer: Mozilla 4.5 [en]C-NSCP (Win98; U)
- Verify the X-Accept-Language is correct. Example: X-Accept-Language: en
- Verify the MIME-Verision is correct. Example: MIME-Version: 1.0
- Verify the message contents is in Plain Text and not HTML
- Verify the Content-Type is
- Type in some rich text and the characters are not extended. Verify the Content-Transfer-Encoding is 7bit
- Type in some rich text with extended characters and send message. Verify the Content-Transfer-Encoding is 8bit
- Type in some text then send the message.
- Start with a new HTML message
- Type in some rich text then send the message.
- Verify the Content-Type is
"text/html; charset=us-ascii"
- Verify the HTML comment read,
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//EN"
- Verify the time stamp from the server is correct. Example:
Received: from netscape.com ([208.12.40.134]) by dredd.mcom.com (Netscape Messaging Server 4.0) with ESMTP id F57EWQ01.8R8 for <pmock@netscape.com>; Thu, 7 Jan 1999 11:17:14 -0800
- Verify the time zone is correct for your region
- Verify the date stamp for the message that is used to displayed in the Thread pane is correct. Example: Date: Thu, 07 Jan 1999 11:17:13 -0800
- Verify the X-Mailer information is correct for the platform. Example: X-Mailer: Mozilla 4.5 [en]C-NSCP (Win98; U)
- Verify the X-Accept-Language is correct. Example: X-Accept-Language: en
- Verify the MIME-Verision is correct. Example: MIME-Version: 1.0
- Verify the message contents is in HTML and not plain text.
- Verify the Content-Type is
- Type in some rich text and the characters are not extended. Verify the Content-Transfer-Encoding is 7bit
- Type in some rich text with extended characters and send message. Verify the Content-Transfer-Encoding is 7bit
- Type in some rich text then send the message.
- Using Intelligent Send
- Send a new message as Plain Text only
- Verify the message is displayed as Plain Text
- Verify the message Content-Type is "text/plain; charset=us-ascii"
- Verify the message Content-Transfer-Encoding is 7 bit for non-extended character and 8 bit for any extended character.
- Send a new message as HTML only
- Verify the message is displayed as HTML
- Verify the message Content-Type is
"text/html; charset=us-ascii"
- Verify the message Content-Transfer-Encoding is always 7 bit no matter if the message contains extended characters.
- Send a message as Plain Text and HTML
- Verify the message is displayed with a Plain Text and HTML sections for the message portion.
- Verify the Content-Type is correct. It will vary depending on the message content and whether it contains any attachments.
- Send a new message as Plain Text only