Tests/Chat: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 40: Line 40:
* That, if a message is sent or received that is longer than one line, the text is wrapped properly.
* That, if a message is sent or received that is longer than one line, the text is wrapped properly.


==Draw a message==
==Draw a message== (? not in latest build 573)
''Justification:'' http://wiki.laptop.org/go/Chat
''Justification:'' http://wiki.laptop.org/go/Chat



Revision as of 16:49, 11 September 2007


Notes: Many of the features in this test plan are not yet functional. They are based off the writeup at http://wiki.laptop.org/go/Chat.

Open the Chat activity

Justification: HIG

Actions:

  1. Click on the Chat activity icon to open it.

Verify:

  • That a Chat activity icon is added to your activity donut.
  • That the icon pulses to indicate it is starting up.
  • That the Chat window opens properly.

Share your Chat

Justification: http://wiki.laptop.org/go/Chat

Actions:

  1. Click the Share button in the upper right corner.
  2. Go to the Neighborhood view.
  3. Have someone in the local mesh join your Chat activity.

Verify:

  • That a Chat activity icon appears in the Neighborhood view.
  • That other users in the mesh are able to see your Chat activity icon.
  • That other users can join your Chat by clicking the Chat icon.
  • That when a laptop joins, it appear in the chat window and says "joined the chat" next to their icon.
  • That the users appear in the right side of the window. (When the view sidebars button is pressed on the keyboard)

Type a message

Justification: http://wiki.laptop.org/go/Chat

Actions:

  1. Click in the message entry field and type a short message. Then press Enter.
  2. Then, type another short message and press Enter.

Verify:

  • That the cursor turns into a blinking text cursor when you are moused over the message entry field.
  • That your message displays properly next to your name and XO icon.
  • That the background of your message is the same color as your user colors. (? not in latest build 573)
  • That your message appears properly in your chat log and that other users in your Chat can see the message.
  • That, if your second message is typed before anyone else types anything, the two messages merge into one larger message. (? not in latest build 573)
  • That, if a message is sent or received that is longer than one line, the text is wrapped properly.

==Draw a message== (? not in latest build 573) Justification: http://wiki.laptop.org/go/Chat

Actions:

  1. Click the Draw tab.
  2. Move your mouse over the message entry field.
  3. Using a stylus, draw something in the message entry field, then press enter.

Verify:

  • That clicking the Draw tab switches the buttons on the taskbar to a pencil and eraser.
  • That your cursor changes to a pencil when you mouse over the message entry field.
  • That what you draw appears in your entry field properly and is visible for everyone to see when you press enter.

Use the "pull" feature

Justification: http://wiki.laptop.org/go/Chat

Actions:

  1. Click the "pull" (arrow) button at the upper right of one of the chat bubbles.
  2. Make edits in the entry field, then press Enter.

Verify:

  • That pressing the pull button pastes that bubble's message into the message entry field.
  • That you are able to make edits to the message, and pressing Enter posts the message.
  • That the message is posted with your name and XO user color.

Search the chat

Justification: http://wiki.laptop.org/go/Chat

Actions:

  1. Click the Edit tab.
  2. Type in a word that was in the conversation somewhere and press Enter.

Verify:

  • That opening the Edit tab changes the toolbar to a different set of buttons.
  • That the search button jumps to the first instance of the word in the chat and selects it.

Check Journal status

Justification: HIG

Actions:

  1. Switch to the Journal.

Verify:

  • That a Journal entry has been added for your Chat session.
  • That a preview of your chat is displayed.

Close your Chat activity

Justification: HIG

Actions:

  1. Switch to the Activity tab.
  2. Click the X button in the upper right corner.

Verify:

  • That the toolbar changes to a different set of buttons when the Activity tab is clicked.
  • That clicking the X button closes the activity.
  • That the Chat icon is removed from the donut.
  • That other users are not removed from the Chat, and are still able to post messages and interact. (? Is this how a shared activity is supposed to work?)

Resume the Chat activity

Justification: HIG

Actions:

  1. Switch to the Neighborhood view.
  2. Click the Chat activity icon that should still be there.

Verify:

  • That the Chat activity icon is still present in the Neighborhood view.
  • That the Chat activity opens and still has the users that were in it before (basically, that it opens the same Chat activity rather than a new one)
  • That you can still see messages from other users and type your own.