Allow Wi-Fi in Flight mode

Fixture

  1. A Wi-Fi hotspot, if available, called Brian for this test
  2. Two devices A B with Release Candidate installed and running, set up with the following Phone Numbers and Names:
    • 55501 TestA
    • 55502 TestB
  3. Connect devices A and B:
    1. IF Wi-Fi hotspot is available THEN Connect each device A and B to a Wi-Fi hotspot by following the steps in Select Wi-Fi Client mode
    2. OTHERWISE IF devices A and B are both rooted THEN Connect each device A and B in Ad Hoc mode by following the steps in Select Wi-Fi Ad Hoc mode
    3. OTHERWISE Connect devices A and B as Access Point and Client respectively by following the steps in Select Wi-Fi Access Point mode
  4. ASSERT Devices A and B appear in each others' peer lists:
    1. Go to Serval main screen → ContactsList Phones On The Mesh

Test

  1. On device A:
    1. Go to Serval main screen → SettingsWiFi SettingsPower Saving - Flight Mode and turn Allow WiFi ON (check checkbox)
    2. Return to Serval main screen (press Back control three times)
  2. Put device A into Airplane mode:
    1. Press Power control and hold down for two seconds
    2. ASSERT A dialog pops up with Silent mode, Airplane mode and Power off entries (and possibly some others)
    3. Press Airplane mode pop-up dialog entry
    4. ASSERT Airplane icon appears in Android status bar
    5. ASSERT Serval Mesh remains on: main screen centre bottom icon keeps light background
  3. Wait at least 20 seconds
  4. On device B:
    1. Leave the peer list screen: press Back control
    2. Re-enter the peer list screen: Serval main screen → ContactsList Phones On The Mesh
    3. ASSERT There is an entry for 55501 TestA in the list
    4. Call device A: press 55501 TestA Call icon (green telephone)
    5. ASSERT Device A rings and displays Incoming Call screen
    6. Press End Call button
    7. Press End Call button on device A
  5. Take device A out of Airplane mode:
    1. Press Power control and hold down for two seconds
    2. ASSERT A dialog pops up with Silent mode, Airplane mode and Power off entries (and possibly some others)
    3. Press Airplane mode pop-up dialog entry
    4. ASSERT Airplane icon disappears from Android status bar
  6. On device A:
    1. Go to Serval main screen → SettingsWiFi SettingsPower Saving - Flight Mode and turn Allow WiFi OFF (un-check checkbox)
    2. Return to Serval main screen (press Back control three times)
  7. Put device A into Airplane mode:
    1. Press Power control and hold down for two seconds
    2. ASSERT A dialog pops up with Silent mode, Airplane mode and Power off entries (and possibly some others)
    3. Press Airplane mode pop-up dialog entry
    4. ASSERT Airplane icon appears in Android status bar
    5. Go to Serval main screen → Connect
    6. ASSERT Network is disconnected: all networks show blank or Off
  8. Wait at least 20 seconds
  9. On device B:
    1. Leave the peer list screen: press Back control
    2. Re-enter the peer list screen: Serval main screen → ContactsList Phones On The Mesh
    3. ASSERT There is no entry for 55501 TestA in the list

Results


Login