Send text message from peer list

Fixture

  1. Two devices A B with Release Candidate installed and running, set up with the following Phone Numbers and Names:
    • 55501 TestA
    • 55502 TestB
  2. Ensure that the peer list (Serval main screen → ContactsList Phones On The Mesh) on each device shows the other device

At this point, devices A and B appear on each other's peer list. If not, then the test case Peer list shows all nearby Batphones should also fail, which is the correct place to attach a full diagnostic report.

Test

  1. On device A, go to peer list: Serval main screen → ContactsList Phones On The Mesh and press the TestB entry text icon (white speech bubble)
  2. ASSERT Device A displays Serval Mesh message screen with 55502 TestB at top left, Delete button at top right, text field at centre left and Send button at centre right
  3. ASSERT Device A input focus is in text field and keyboard should be present
  4. On device A, enter the word Hello in the text field and press Send button
  5. Wait a few seconds
  6. ASSERT Device B sounds a notification and status bar displays 55501 Hello for a second, then returns to showing status icons which include a Serval logo showing 1 in a red circle
  7. On device B, pull down the status bar
  8. ASSERT Device B shows a Serval entry under Notifications with 55501 TestA and the text Hello
  9. On device B, press the Serval notification entry
  10. ASSERT Device B displays Serval Mesh Messages screen with a 55501 TestA entry below the text box and + button
  11. On device B, press the 55501 TestA entry
  12. ASSERT Device B displays message thread with 55501 TestA at top left, Delete button at top right, and Hello message inside text bubble at lower right

Results


Login