Skip to content

Test Case Interactive path

Giovane Liberato edited this page Oct 9, 2018 · 6 revisions

Assumptions

  • This test will be run with alice@ and bob@ running with the localhost xmpp server

Before running test (online version)

  • Start Pidgin:
    • Enable alice@ and bob@
    • Shut down Pidgin
  • Remove all files starting with otr4. in the Pidgin configuration directory (defaults to ~/.purple).

Running the test

  • 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
  • Double click on "bob@localhost" to open a conversation window with Bob
  • 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 conversation window with bob@

  • Switch to bob's 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@
  • Switch to alice's conversation window with bob@
  • Ensure that the "Oh, hi Alice" message shows up in that window

  • Switch to bob's conversation window with alice@
  • Ensure that the "Oh, hi Alice" message shows up in that window
Clone this wiki locally