Table of Contents
Add contact 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
- On device A, press the TestB peer entry add icon (+ inside white circle)
- IF Device A pops up a Complete action using menu:
- ASSERT Pop-up menu contains a Contacts item
- Press Contacts menu item
- ASSERT Pop-up disappears
- ELSE
- ASSERT Device A displays a contacts list view containing an entry for 55502
- Press Back control
- ASSERT Device A displays peer list with TestB entry missing the add icon
- On device A, go to Serval main screen → Contacts → Show Android Contact List
- IF Device A contact list is missing entry for 55502
- Go to Menu → Display options, enable display of Serval Mesh contacts
- ASSERT Device A contact list contains entry for 55502