-
Notifications
You must be signed in to change notification settings - Fork 5
Test Case Interactive path
Mauro Velasco edited this page May 23, 2019
·
6 revisions
- Two instances of Pidgin are required to run this test case, the @alice and @bob accounts must be configured
- This test will be run with @alice and @bob running with the localhost xmpp server (required if offline conversation is maintained)
- Start Pidgin
- Enable @alice and @bob
- Stop Pidgin
- Remove all files starting with
otr4.
in the Pidgin configuration directory (defaults to~/.purple
)
Step One
- Start Pidgin
- Stop Pidgin
-
Ensure the following files are created in the Pidgin configuration directory (defaults to
~/.purple
)- otr4.client_profile
- otr4.exp_client_profile
- otr4.exp_prekey_profile
- otr4.forging_key
- otr4.prekey_messages
- otr4.prekey_profile
- otr4.private_key
- Start Pidgin
Step Two
- As @alice
- Double click on @bob to open a conversation
- Click the
OTR
menu - Ensure that "Start private conversation" is enabled, while "End private conversation" and "Authenticate buddy" are not enabled
- Click on "Start private conversation"
- Ensure that it says "Attempting to start a private conversation" in the conversation window with @bob
- Ensure that it says "Unverified conversation started. Your client is not logging this conversation." in the conversation window with @bob
- Type "Hello, Bob" and press enter.
- Ensure that the message shows up in the current conversation window with @bob
Step Three
- As @bob, switch to conversation window with @alice
- Ensure that it says "Unverified conversation started. Your client is not logging this conversation.".
- Ensure that the "Hello, Bob" message shows up in that window
- Type "Oh, hi Alice" and press enter.
- Ensure that the message shows up in the conversation window with @alice
Step Four
- As @alice, switch to conversation window with @bob
- Ensure that the "Oh, hi Alice" message shows up in that window
- Close the pidgin as @alice and @bob