Table of Contents
Send text message from peer list
Fixture
- Two devices A B with Release Candidate installed and running, set up with the following Phone Numbers and Names:
- 55501 TestA
- 55502 TestB
- Ensure that the peer list (Serval main screen → Contacts → List 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
- On device A, go to peer list: Serval main screen → Contacts → List Phones On The Mesh and press the TestB entry text icon (white speech bubble)
- 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
- ASSERT Device A input focus is in text field and keyboard should be present
- On device A, enter the word Hello in the text field and press Send button
- Wait a few seconds
- 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
- On device B, pull down the status bar
- ASSERT Device B shows a Serval entry under Notifications with 55501 TestA and the text Hello
- On device B, press the Serval notification entry
- ASSERT Device B displays Serval Mesh Messages screen with a 55501 TestA entry below the text box and + button
- On device B, press the 55501 TestA entry
- 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