Features/Remove Presence Service/Testing

< Features‎ | Remove Presence Service
Revision as of 08:25, 15 September 2010 by Tomeu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

We should test both the backend that uses a server (gabble) and the one that doesn't (salut). Sugar will use gabble if it can connect successfully to the server specified in the Network section in the control panel and will fall back to salut if it can't. You can verify which backend is running with the 'ps' command.

Also, we should be testing both with other clients running 0.90 and with clients running earlier versions.

Connection management

Connecting to gabble

  1. Check that the server in the control panel is jabber.sugarlabs.org
  2. Wait a minute
  3. Check that telepathy-gabble is running
  4. Check that some buddies are shown in the neighborhood view

Falling back to salut

  1. Change the server setting to a fake server name
  2. Check that telepathy-gabble isn't running
  3. Check that telepathy-salut is running


Buddy presence

  1. Check that the neighborhood view displays the expected buddies depending on the backend in use and the server configured
  2. Check for the correct nicks and colors
  3. Check that buddies disappear from the view when they disconnect


Activity presence

  1. Start an activity
  2. Share it in the neighborhood
  3. Check other buddies see the activity and the initiator next to it
  4. Make another instance join the activity
  5. Check both buddies appear around the activity

Activity invitations

  1. Start an activity
  2. Invite another buddy to it
  3. Check that an alert appears in the top-left corner and an icon is added to the top level frame
  4. Check in the invited neighborhood view that the activity appears
  5. Join the activity by every of the available methods
  6. Check the activity is properly displayed in both neighborhood views

Friends

  1. Make friend one of the buddies in the neighborhood view
  2. Check it appears in the friends view
  3. Power off the friend's machine
  4. Check it appears as being offline in the friends view
  5. Restart
  6. Check it appears as being offline in the friends view
  7. Start friend machine
  8. Check it appears as online

File transfer

  1. Make sure you have a friend online
  2. From the journal, initiate a transfer
  3. Make the friend accept the transfer
  4. Check that the transfer completed successfully
  5. From the journal, initiate a transfer
  6. Make the friend accept the transfer
  7. Make the friend cancel the transfer
  8. Check the transfer was properly cancelled in both sides