|
|
Feature Test Spec
5.0 Project (seamonkey)
Mail and News Component
Reply and Quoting
Written by: Peter Mock
History:
01021998 Created
01091998 Update
01081999 Revised to match
seamonkey spec
02202000 Posted to mozilla.org
References: Composition UI spec
Master Messenger UI spec
Descriptions: 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.
-
Verify there is a separate preference for quoting for mail and news (new)
-
Verify under quoting option for mail,
-
Verify there is an option to enable or disable quoting
-
When quoting is enabled, verify you have the option to:
-
start reply above quoted text
-
start reply below quoted text
-
start reply by selecting the quoted text
-
Repeat the previous section for news.
-
Verify the default behavior for mail is to start the reply above the quoted
text.
-
Verify the default behavior for news is to start the reply below the quoted
text.
Replying to different message contents:
-
Reply to the following Plain Text message. Verify the text is quoted correctly.
-
Empty message area
-
Space
-
Multiple spaces
-
Single character (non space)
-
Word
-
Sentence
-
Paragraph
-
Extended character (accented)
-
Reply to the following HTML message. Verify the text is quoted correctly.
-
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
Replying to Plain Text Messages
Set your default editor to use the plain text compose editor.
-
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.
-
Reply to a Plain Text message using the Reply button then send
-
Reply to a Plain Text message using the Reply All button then send
-
Reply to a Plain Text message using the menu item to Reply then send
-
Reply to a Plain Text message using the menu item Reply All then send
-
Reply to a Plain Text message using the context menu to Reply then send
-
Reply to a Plain Text message using the context menu to Reply All then
send
-
Reply to a forwarded Plain Text message using the Reply button then send
-
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
-
Reply to a Plain Text message with one recipient using the Reply button
then send.
-
Reply to a Plain Text message with one recipient using the menu item Reply
then send
-
Reply to a Plain Text message with one recipient using the context menu
to Reply then.
-
Reply to a Plain Text message with multiple recipients using the Reply
button then send
-
Also verify there are multiple people listed in the To: field
-
Reply to a Plain Text message with multiple recipients using the menu item
Reply All then send
-
Reply to a Plain Text message with multiple recipients using the context
menu Reply All then send
-
Reply to a forwarded Plain Text message using the Reply button then send
-
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
-
Reply to a Plain Text message with one recipient using the Reply button
then send.
-
Reply to a Plain Text message with one recipient using the menu item Reply
then send
-
Reply to a Plain Text message with one recipient using the context menu
to Reply then.
-
Reply to a Plain Text message with multiple recipients using the Reply
button then send
-
Also verify there are multiple people listed in the To: field
-
Reply to a Plain Text message with multiple recipients using the menu item
Reply All then send
-
Reply to a Plain Text message with multiple recipients using the context
menu Reply All then send
-
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.
-
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.
-
Reply to a HTML message using the Reply button then send
-
Reply to a HTML message using the Reply All button then send
-
Reply to a HTML message using the menu item to Reply then send
-
Reply to a HTML message using the menu item Reply All then send
-
Reply to a HTML message using the context menu to Reply then send
-
Reply to a HTML message using the context menu to Reply All then send
-
Reply to a forwarded HTML message using the Reply button then send
-
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.
-
Reply to a HTML message with one recipient using the Reply button then
send.
-
Reply to a HTML message with one recipient using the menu item Reply then
send
-
Reply to a HTML message with one recipient using the context menu to Reply
then.
-
Reply to a HTML message with multiple recipients using the Reply button
then send
-
Also verify there are multiple people listed in the To: field
-
Reply to a HTML message with multiple recipients using the menu item Reply
All then send
-
Reply to a HTML message with multiple recipients using the context menu
Reply All then send
-
Reply to a forwarded HTML message using the Reply button then send
-
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.
-
Reply to a HTML message with one recipient using the Reply button then
send.
-
Reply to a HTML message with one recipient using the menu item Reply then
send
-
Reply to a HTML message with one recipient using the context menu to Reply
then.
-
Reply to a HTML message with multiple recipients using the Reply button
then send
-
Also verify there are multiple people listed in the To: field
-
Reply to a HTML message with multiple recipients using the menu item Reply
All then send
-
Reply to a HTML message with multiple recipients using the context menu
Reply All then send
-
Reply to a forwarded HTML message using the Reply button then send
Reply to a combination of the previous two test sections.
-
Combination of the above. Verify the message is quoted correctly
and verify the message has been sent correctly.
-
Reply to a HTML message using the Plain Text editor.
-
Reply to a replied HTML message using the Plain Text editor.
-
Reply to a replied Plain Text message using the Plain Text editor.
-
Reply to a forwarded HTML message using the Plain Text editor.
-
Reply to a Plain Text message using the HTML editor.
-
Reply to a replied Plain Text message using the HTML editor.
-
Reply to a replied HTML message using the HTML editor.
-
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.)
-
Verify the font style can be changed on the quoted text.
-
Change the style setting to 'Bold' and send a reply to a Plain Text message.
Verify the quoted text is displayed as bold
-
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
-
Change the style setting to 'Regular' and send a reply to a Plain Text
message. Verify the quoted text is displayed as regular
-
Change the style setting to 'Italic' and send a reply to a Plain Text message.
Verify the quoted text is displayed as italic
-
Verify the font size can be changed on the quoted text.
-
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
-
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
-
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
-
Verify the font color can be changed on the quoted text.
-
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
-
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
-
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
-
Verify the font width can change on the quoted text.
-
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.)
-
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.)
Fonts
-
Verify you can change the default fixed width font family (e.g. Courier
New)
-
Change the fixed width font family from the default font to a different
font. Expected result: Verify the text is displayed in the font that
you specified. The message should be changed but the font header
remain unchanged.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Change the fixed width font family back to the default font. Expected
result: Verify the text is displayed in the font that you specified.
The message should be changed but the font header remain unchanged.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Verify you can change the default fixed width font size (e.g. 10
points to 18 points)
-
Change the fixed width font size from the default size to a different size.
Expected result: Verify the text is displayed in the font size that you
specified. The message should be changed but the font header remain
unchanged.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Change the fixed width font size back to the default size. Expected
result: Verify the text is displayed in the font size that you specified.
The message should be changed but the font header remain unchanged.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
Colors
-
Verify you can change the text color of the font.
-
Change the color setting from the default color to a different color.
Expected result: Verify the text is displayed in the color that you specified.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Change the color setting back to the default color. Expected result:
Verify the text is displayed in the color that you specified.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Verify you can change the background color of the message.
-
Change the color setting from the default color to a different color.
Expected result: Verify the background is displayed in the color that you
specified.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Change the color setting back to the default color. Expected result:
Verify the background is displayed in the color that you specified.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Verify the 'Use Windows colors' takes effect immediately (not
sure how to test)
Links
-
Verify you can change the color of the un-visited link.
-
Change the color setting from the default color to a different color.
Expected result: Verify the un-visited link is displayed in the color that
you specified.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Change the color setting back to the default color. Expected result:
Verify the un-visited link is displayed in the color that you specified.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Verify you can change the color of the visited links.
-
Change the color setting from the default color to a different color.
Expected result: Verify the visited link is displayed in the color that
you specified.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Change the color setting back to the default color. Expected result:
Verify the visited link is displayed in the color that you specified.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Verify can change the option to underline the link or not
-
Check the option to underline links. Expected results: Verify all
links are underlined
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
-
View a Plain Text message that is a forward message.
-
Uncheck the option to underline links. Expected results. Verify
all links are not underlined.
-
View a new Plain Text message that has no replies/forward.
-
View a Plain Text message that is a reply message.
View a Plain Text message that is a forward message.
Message Wrapping
-
Send yourself a new Plain Text message and set the preference to 72 characters.
Expected result: Verify the message is wrapped when viewed
-
Type in a sentence greater than 72 characters and send.
-
Type in a sentence less than 72 characters and send.
-
Type in a sentence exactly 72 characters and send.
-
Send yourself a new HTML message
-
Verify the message wrapping preference is ignored
-
Send yourself a new Plain Text message and set the preference to 10 characters.
Expected result: Verify the message is wrapped when viewed
-
Type in a sentence greater than 10 characters and send.
-
Type in a sentence less than 10 characters and send.
-
Type in a sentence exactly 10 characters and send.
-
Send yourself a new Plain Text message and set the preference to 101 characters.
Expected result: Verify the message is wrapped when viewed
-
Type in a sentence greater than 101 characters and send.
-
Type in a sentence less than 101 characters and send.
-
Type in a sentence exactly 101 characters and send.
-
Send yourself a reply to a Plain Text message that has sentences 72 characters
long. (Preference to 72 characters.) Verify the reply to this
message, the quoted text is wrapped cause the sentence to be broken onto
the next line
-
Send yourself a forward quote to a Plain Text message that has sentences
72 characters long. (Preference to 72 characters.) Verify the
reply to this message, the quoted text is wrapped cause the sentence to
be broken onto the next line
-
If you receive long continuous line if characters (e.g. 500 chars), we
do not wrap the long lines when quoting. We
preserve the original line format.
-
If you receive an long URL greater than what the preference, we should
behave the same as Communicator 4.5
Additional Tests for Message Wrap
-
Quoting & Wrap Long Lines vs View|Wrap Long Lines
-
Verify View|Wrap Long Lines does not affect Quoting & Wrap Long Lines
-
Verify View|Wrap Long Lines affects only viewing
-
Verify View|Wrap Long Lines affects printing
-
Quoting & Wrap Long Lines (test cases from Jefft to try)
-
Quoting html to html & send as plain text
-
As long as there are no hard line breaks (user hit return/enter on purpose)
when converting html to plain text we will use the "wrap long lines at
xx characters" preference for wrapping lines. If there are hard line breaks
we doomed. A typical example: John sent a plain text message (with 72 line
width) to Lisa. Lisa replied the plain text message to John and cc to Akkana
in html message. Akkana replied the message and force to send as plain
text to John with wrap long lines at 68 characters.
-
Quoting plain text to html & send as plain text
-
Quoting plain text to html does not reformat the original plain text message.
Line formats are preserved via hard line breaks (<CR><LF>). Line
formats are preserved via hard line breaks. Backend remembers the maximum
line width of the original plain text message when force sending html to
plain text message we compare the recorded maximum line width with the
"wrap long lines at xx characters" preference. We use the largest number
for wrapping the lines so we won't cause the long/short lines to appear.
One could argue that we are not using the "wrap long lines" preference
in this case. But, what do you want? Saving unfinished composition message
as draft will preserve the maximum line width information. Please make
sure to test this feature.
-
Quoting html to plain text & send as plain text
-
Quoting html to plain text we use the "wrap long lines at xx characters"
preference to wrap lines. They appears in the plain text editor with
hard line breaks. Subsequent adding more text to the plain text editor
will get wrapped according to the preference at the send time. This is
a little bit odd. Quoting html into plain text gives you a kind of what
you see is what you get feeling. But typing additional text does not. It
depends on how big your window is and reformats the additional text to
the setting of the preference at the send time. But, what can we do better?
-
Quoting plain text to plain text & send as plain text
-
Since plain text message come with hard line breaks quoting from plain
text ot plain text the original message format are always preserved. Even
with the much smaller "wrap long lines at xx characters" preference. As
one can see if you receive a fairly long lines message, quote the message,
add more text and send the plain text message you might see the following
pattern:
> this is a
very long line xxxxxxxxxx xxxxxxxxxxxxxxx yyyyyyyyyy zzzzzzzzzzzzzzzzzzzzzz
> this is a
very long line xxxxxxxxxx xxxxxxxxxxxxxxx yyyyyyyyyy zzzzzzzzzzzzzzzzzzzzzz
> this is a
very long line xxxxxxxxxx xxxxxxxxxxxxxxx yyyyyyyyyy zzzzzzzzzzzzzzzzzzzzzz
this has been
wrapped according to
the preference.
The preference is
set to a small
number.
View|Wrap Long Lines (pertains to plain text messages that does
not have carriage returns) Use an application such as Mac Netscape
2.0 to send a message that does not auto wrap. These tests applies
to both Mail and News.
-
View a message that does not wrap in the Message pane
-
Verify the sentences trail off the screen
-
Use the horizontal scroll bar to view the rest of the message
-
View a message that does not wrap in the Message Window
-
Verify the sentences trail off the screen
-
Use the horizontal scroll bar to view the rest of the message
-
Set the option to wrap long lines in the Message pane
-
Verify that all the sentences are wrapped
-
Verify that the horizontal scroll bar no longer appears
-
Resize the Message pane
-
Verify if the setting is persistent in the Message pane. Verify if
the setting still applies
-
Navigate to another message in the current Message pane
-
Close and re-open the Messenger Window and select the same message
-
Open another Messenger Window
-
Exit and re-launch Communicator and select the same message
-
Set the option to wrap long lines in the Message Window
-
Verify that all the sentences are wrapped
-
Verify that the horizontal scroll bar no longer appears
-
Resize the Message Window
-
Verify if the setting is persistent in the Message Window. Verify
if the setting still applies
-
Navigate to another message in the current Message Window
-
Close and re-open the Message Window and select the same message
-
Open another Message Window
-
Exit and re-launch Communicator and select the same message
-
Verify you can wrap long lines if the message contains no attachment
-
Verify you can wrap long lines if the message contains an attachment
-
Verify you can wrap long lines a message that has a file attachment
-
Verify you can wrap long lines a message that has a Web attachment
-
Verify you can wrap long lines a message that has a vcard attachment
-
Verify you can wrap long lines a message that has a signature file
-
Set the View option to not view attachments in line, verify the wrap long
lines option still functions as expected
-
Toggle the wrap long lines off and verify the setting takes effect
|