Select MeshTether network

Tests that the Serval Mesh app provides user actions to start and stop the Commotion ad hoc mesh network if the Commotion MeshTether app is installed. This test case was developed in fulfilment of New America Foundation - Contractor Agreement #19-OTIDOS2013 “NAF3”.

Fixture

  1. Two rooted devices A B, each with:
    1. Release Candidate installed and running
  2. … and set up with the following Phone Numbers and Names:
    • 55501 TestA
    • 55502 TestB
  3. Ensure each device A and B is disconnected:
    1. Go to Serval main screen → Connect
    2. Ensure Enable Services is OFF (un-check the checkbox if necessary)
    3. Turn Auto Cycle to OFF (un-check the checkbox)
    4. Go to peer list: Serval main screen → ContactsList Phones On The Mesh)
    5. Ensure the peer list is empty

Test

  1. On each device A and B:
    1. Go to Serval main screen → Connect
    2. ASSERT The network list contains an entry for Mesh Tether Mesh
    3. Turn Enable Services to ON (check the checkbox)
    4. Select the Mesh Tether network
    5. ASSERT Mesh Tether network is marked as Turning On
    6. IF Pop-up appears requesting Super User for Mesh Tether THEN press Allow button
    7. ASSERT MeshTether app is granted Super User permission
    8. ASSERT After a few seconds, Mesh Tether network is marked as On
  2. On each device A and B:
    1. ASSERT Other device appears in peer list: Serval main screen → ContactsList Phones On The Mesh
  3. On device A:
    1. Go to Serval main screen → Connect
    2. Select the Wi-Fi network
    3. ASSERT Mesh Tether network is marked as Turning Off
    4. IF Pop up appears advising of need for root permission THEN press Allow button
    5. ASSERT After a few seconds, MeshTether network status becomes blank
    6. ASSERT Wi-Fi network status changes to Scanning
    7. ASSERT List of available access points appears
  4. On device B:
    1. ASSERT Device A no longer appears in peer list: Serval main screen → ContactsList Phones On The Mesh

Results


Login