Tests/Activity/Chat: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This '''Chat Tests''' page is an amalgamation of test of the Chat feature tests. Most of the tests date from 2009


== Public Chat Test ==


{{Test case
{{Test case
|testcase_name=Chat Activity test
|testcase_name=Public Chat
|testcase_category=Activity
|testcase_category=Activity
|testcase_subcategory=Chat
|testcase_subcategory=Chat
|testcase_stream=Any
|testcase_stream=8.2, 11.2
|testcase_component=chat
|testcase_component=Chat
|testcase_feature=http://wiki.laptop.org/go/Chat
|testcase_feature=[[Chat]]
|testcase_objective=Basic functionality of chat
|testcase_objective=Verify that users can start and participate in a public (visible to the neighborhood) chat.
|testcase_tools=n/a
|testcase_tools=No test tools required.
|testcase_setup=At least two laptops running the same version of Chat, preferably the most recent.
|testcase_setup=n/a
|testcase_procedure=
|testcase_procedure=1. Start up a Chat activity on one XO. Share it with the Neighborhood.
2. On the other XOs, go to the Neighborhood view and join the chat.<br>
# Activity installs from download (if not part of default installation) from website or USB key
3. Send messages to the chat from all of the XOs.<br>
# Activity starts up
4. Have one or more of the XOs (not the host) leave the chat for a few minutes, then rejoin.<br>
# You can re-name the activity
5. Chat some more.<br>
# User specific data can be created
6. Have one of the non-host XOs leave the chat again.<br>
# You can force a save
7. Have the rest of the XOs (host included) leave the chat.
# Activity closes properly from inside the activity
|testcase_expectedresults=1. When the XOs join the chat, the icon should appear with the colors of the host XO.
# You can resume the activity from the Journal
2. XOs can join the activity and chat reliably.<br>
# You see the user specific data after resume
# You can close the activity from the Sugar frame
3. If the chat ends (everyone leaves), the icon should disappear from the Neighborhood view.
|testcase_comments=None.
}}
}}
{{Test results begin}}
{{Test results begin}}
{{Test results
|testresult_release=Candidate
|testresult_stream=joyride
|testresult_build=2311
|testresult_passfail=Pass
|testresult_comments=No unexpected behavior.
}}
{{Test results
{{Test results
|testresult_release=Candidate
|testresult_release=Candidate
Line 29: Line 43:
}}
}}
{{Test results end}}
{{Test results end}}
These are all of the test cases for the Chat activity.



{{#ask:
== Private Chat Tests ==
[[Category:Test cases]] [[System component::Chat]]

| format=embedded
{{Test case
| embedformat=h4
|testcase_name=Private Chat
| default=No articles found in [[:Category:Test cases]] with [[Property:System component]] of [[Chat]]?
|testcase_category=Activity
|testcase_subcategory=Chat
|testcase_stream=8.2, 11.2
|testcase_component=Chat
|testcase_feature=[[Chat]]
|testcase_objective=Verify that users can start and participate in a private (invite-only) chat.
|testcase_tools=No test tools required.
|testcase_setup=At least two laptops running the same version of Chat, preferably the most recent.
|testcase_procedure=1. On one XO, start up the Chat activity.
2. Switch to the Neighborhood view.<br>
3. Find the other XO(s) being used for the test in the Neighborhood view and invite them to the chat by hovering the mouse cursor over their XO symbol and selecting the option with the appropriately-colored Chat icon.<br>
4. On the other XO(s), a Chat icon with the colors of the first XO should appear in the frame.
* In pre-8.2.0 builds, this icon will appear in the activity tray on the bottom of the screen in the home view or on the frame.
* In joyride, 8.2.0 and beyond, this icon will flash once or twice in the top-left corner and then will stay in the top part of the frame in the list of active activities until the invitation is declined or the activity is stopped.
5. Select the "join" option or click on the icon to join the chat.<br>
6. Chat.<br>
7. Have one of the joining XOs leave the chat, then reinvite them from the host XO.<br>
8. Join the chat again.<br>
9. Leave the chat again on one of the XOs that joined the chat, then reinvite them from the host XO.<br>
10. Have the other XOs (if any, including the host) leave the chat activity before the reinvited XO rejoins the chat.<br>
|testcase_expectedresults=1. On the Neighborhood view, there should be no Chat icon representing the host visible anywhere.
2. XOs can join the activity and chat reliably.<br>
3. If an XO declines an invite or leaves the chat, they can still be reinvited back to the chat.<br>
4. If the chat ends before an invited XO joins, the invitation should disappear.
|testcase_comments=None.
}}
}}
{{Test results begin}}
{{Test results
|testresult_release=Candidate
|testresult_stream=joyride
|testresult_build=2311
|testresult_passfail=Pass
|testresult_comments=No unexpected behavior.
}}
{{Test results end}}

Latest revision as of 01:21, 17 March 2012

This Chat Tests page is an amalgamation of test of the Chat feature tests. Most of the tests date from 2009


Public Chat Test

Test case: Short name::Public Chat
How to report results

Stream ,|x|Build stream::x}}
Category Test category::Activity Sub-category Test subcategory::Chat
Component System component::Chat
Feature [[System feature::Chat]]
Objective Test objective::Verify that users can start and participate in a public (visible to the neighborhood) chat.
Tools Test tools::No test tools required.
Setup Test setup::At least two laptops running the same version of Chat, preferably the most recent.
Procedure [[Test procedure::1. Start up a Chat activity on one XO. Share it with the Neighborhood.

2. On the other XOs, go to the Neighborhood view and join the chat.
3. Send messages to the chat from all of the XOs.
4. Have one or more of the XOs (not the host) leave the chat for a few minutes, then rejoin.
5. Chat some more.
6. Have one of the non-host XOs leave the chat again.
7. Have the rest of the XOs (host included) leave the chat.]]

Expected Results
and Pass Criteria
[[Pass criteria::1. When the XOs join the chat, the icon should appear with the colors of the host XO.

2. XOs can join the activity and chat reliably.
3. If the chat ends (everyone leaves), the icon should disappear from the Neighborhood view.]]

Comments More notes::None.
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Software release::Candidate Build stream::joyride Build number::2311 PassFail::Pass ,|x| #x}} Comments::No unexpected behavior. Created::


Software release::Candidate Build stream::8.2 Build number::763 PassFail::Pass ,|x| #x}} Comments::chat-47 Created::



Private Chat Tests

Test case: Short name::Private Chat
How to report results

Stream ,|x|Build stream::x}}
Category Test category::Activity Sub-category Test subcategory::Chat
Component System component::Chat
Feature [[System feature::Chat]]
Objective Test objective::Verify that users can start and participate in a private (invite-only) chat.
Tools Test tools::No test tools required.
Setup Test setup::At least two laptops running the same version of Chat, preferably the most recent.
Procedure [[Test procedure::1. On one XO, start up the Chat activity.

2. Switch to the Neighborhood view.
3. Find the other XO(s) being used for the test in the Neighborhood view and invite them to the chat by hovering the mouse cursor over their XO symbol and selecting the option with the appropriately-colored Chat icon.
4. On the other XO(s), a Chat icon with the colors of the first XO should appear in the frame.

  • In pre-8.2.0 builds, this icon will appear in the activity tray on the bottom of the screen in the home view or on the frame.
  • In joyride, 8.2.0 and beyond, this icon will flash once or twice in the top-left corner and then will stay in the top part of the frame in the list of active activities until the invitation is declined or the activity is stopped.

5. Select the "join" option or click on the icon to join the chat.
6. Chat.
7. Have one of the joining XOs leave the chat, then reinvite them from the host XO.
8. Join the chat again.
9. Leave the chat again on one of the XOs that joined the chat, then reinvite them from the host XO.
10. Have the other XOs (if any, including the host) leave the chat activity before the reinvited XO rejoins the chat.
]]

Expected Results
and Pass Criteria
[[Pass criteria::1. On the Neighborhood view, there should be no Chat icon representing the host visible anywhere.

2. XOs can join the activity and chat reliably.
3. If an XO declines an invite or leaves the chat, they can still be reinvited back to the chat.
4. If the chat ends before an invited XO joins, the invitation should disappear.]]

Comments More notes::None.
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Software release::Candidate Build stream::joyride Build number::2311 PassFail::Pass ,|x| #x}} Comments::No unexpected behavior. Created::