Difference between revisions of "Features/Remove Presence Service/Testing"

From Sugar Labs
Jump to navigation Jump to search
(Created page with "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 ...")
 
 
Line 3: Line 3:
 
Also, we should be testing both with other clients running 0.90 and with clients running earlier versions.
 
Also, we should be testing both with other clients running 0.90 and with clients running earlier versions.
  
== Connection management ==
+
= Connection management =
  
=== Connecting to gabble ===
+
== Connecting to gabble ==
  
 
#Check that the server in the control panel is jabber.sugarlabs.org
 
#Check that the server in the control panel is jabber.sugarlabs.org
Line 12: Line 12:
 
#Check that some buddies are shown in the neighborhood view
 
#Check that some buddies are shown in the neighborhood view
  
=== Falling back to salut ===
+
== Falling back to salut ==
  
 
#Change the server setting to a fake server name
 
#Change the server setting to a fake server name
Line 19: Line 19:
  
  
== Buddy presence ==
+
= Buddy presence =
  
 
#Check that the neighborhood view displays the expected buddies depending on the backend in use and the server configured
 
#Check that the neighborhood view displays the expected buddies depending on the backend in use and the server configured
Line 26: Line 26:
  
  
== Activity presence ==
+
= Activity presence =
 
#Start an activity
 
#Start an activity
 
#Share it in the neighborhood
 
#Share it in the neighborhood
Line 33: Line 33:
 
#Check both buddies appear around the activity
 
#Check both buddies appear around the activity
  
== Activity invitations ==
+
= Activity invitations =
 
#Start an activity
 
#Start an activity
 
#Invite another buddy to it
 
#Invite another buddy to it
Line 41: Line 41:
 
#Check the activity is properly displayed in both neighborhood views
 
#Check the activity is properly displayed in both neighborhood views
  
== Friends ==
+
= Friends =
 
#Make friend one of the buddies in the neighborhood view
 
#Make friend one of the buddies in the neighborhood view
 
#Check it appears in the friends view
 
#Check it appears in the friends view
Line 51: Line 51:
 
#Check it appears as online
 
#Check it appears as online
  
== File transfer ==
+
= File transfer =
 
#Make sure you have a friend online
 
#Make sure you have a friend online
 
#From the journal, initiate a transfer
 
#From the journal, initiate a transfer

Latest revision as of 07:25, 15 September 2010

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