... | ... | @@ -14,9 +14,12 @@ MR1357 Test instructions: |
|
|
|
|
|
- [ ] Scenario 1
|
|
|
|
|
|
Positive test: verify that all goes smoothly when connecting to a ne contact nearby
|
|
|
|
|
|
Device settings:
|
|
|
Device 1 location services = On
|
|
|
Device 2 location services = On
|
|
|
Device 1 Briar access to location = On
|
|
|
Device 1 Briar access to camera = Off
|
|
|
Device 2 Briar access to location = On
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = On
|
|
|
Device 2 - connect via Bluetooth = Off
|
... | ... | @@ -25,7 +28,12 @@ Steps to execute: |
|
|
|
|
|
Device1:
|
|
|
- [ ] tap the + sign on the contacts screen and select 'nearby contacts', then tap continue
|
|
|
- [ ] message appears: "allow briar to take photos and make videos" user has a choice of options: deny, allow only while using the app, and ask every time. (This answer will be saved in the device settings > permissions manager > camera. If "allow only when using the app" is selected, then the user is askek just once to allow Briar to use camera, and if "ask every time" is selected, then eveyr time Briar wants to access camera, the user's permission will be requested again)
|
|
|
- [ ] message appears: "allow briar to take photos and make videos" user has a choice of options: deny, allow only while using the app, and ask every time. (This answer will be saved in the device settings > permissions manager > camera. If "allow only when using the app" is selected, then the user is asked just once to allow Briar to use camera, and if "ask every time" is selected, then every time Briar wants to access camera, the user's permission will be requested again)
|
|
|
|
|
|
ANDROID DOCS SEEM TO BE SAYING THAT IT MEANS A ONCE ONLY PERMISSION https://www.android.com/android-11/#a11-privacy-security-article
|
|
|
|
|
|
Confirmation awaited (20/4/21) - steps to reproduce described in #2000 and #2002
|
|
|
|
|
|
- [ ] message "Briar is asking to allow phone to be visible to other devices for 120 seconds" - tap "allow"
|
|
|
- QR code is shown in half of the creen and the other half is a camera's screen, ready to take a photo of the QR code of the neaby contact's device.
|
|
|
|
... | ... | @@ -41,42 +49,35 @@ Expected results: |
|
|
|
|
|
- [ ] Scenario 2
|
|
|
|
|
|
Verify that Briar can make connection with nearby contacts when Bluetooth settings is off both on Briar itself and on the device
|
|
|
|
|
|
Device settings:
|
|
|
Device 1 location services = On
|
|
|
Device 2 location services = On
|
|
|
Device 1 Briar access to location = On
|
|
|
Device 2 Briar access to location = On
|
|
|
Bluetooth setting on Briar app = Off
|
|
|
Bluetooth setting on device itself (Connection preferences) = Off
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = On
|
|
|
Device 2 - connect via Bluetooth = Off
|
|
|
|
|
|
When the bluetooth setting is Off in Briar app, trying to connect with a nearby contact will set it to On after the user taps on "Briar is asking to allow phone to be visible to other devices for 120 seconds"
|
|
|
|
|
|
- [ ] Delete the contact and restart the process by tapping on + on the contacts screen.
|
|
|
- [ ] Select the 'nearby contacts' and tap 'continue' when asked.
|
|
|
- [ ] message "Briar is asking to allow phone to be visible to other devices for 120 seconds" - tap "allow"
|
|
|
- [ ] Both bluetooth settings are turned on by Briar (both within the app and on the device)
|
|
|
- [ ] QR code is shown in half of the creen and the other half is a camera's screen, ready to take a photo of the QR code of the neaby contact's device.
|
|
|
- [ ] Allow the 120 seconds to expire. Then attempt to continue the process.
|
|
|
|
|
|
Expected results:
|
|
|
- [ ] After 120 - Process can be completed
|
|
|
- [ ] After 120 seconds - Process can be completed
|
|
|
- [ ] Users appear in each other's contact lists
|
|
|
- [ ] Bluetooth settings are On, in the Briar app as well as in the phone connection preferences
|
|
|
|
|
|
- [ ] Scenario 3
|
|
|
|
|
|
Device settings:
|
|
|
Device 1 location services = On
|
|
|
Device 2 location services = On
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = Off
|
|
|
Device 2 - connect via Bluetooth = Off
|
|
|
|
|
|
Steps to execute:
|
|
|
- [ ] As in Scenario 1
|
|
|
- [ ] Scenario 3
|
|
|
|
|
|
Expected results:
|
|
|
- [ ] After 120 - Process can be completed
|
|
|
- [ ] Users appear in each other's contact lists
|
|
|
|
|
|
- [ ] Scenario 4
|
|
|
Deny Briar access to location once
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 (Pixel2 Android 11) location services = On (Ask every time)
|
... | ... | @@ -85,11 +86,13 @@ Briar settings: |
|
|
Device 1 - connect via Bluetooth = On
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
|
|
|
setting 'Ask every time' (or Only this time on popup ) may mean that Android memorises the permission for awhile, but not clear for how long or when it expires... To avoid confusion, this setting will not be under test here until the ticket #2000 is clarified.
|
|
|
|
|
|
Steps to execute:
|
|
|
Device 1 (Pixel2)
|
|
|
- [ ] Tap on + sign on contacts page
|
|
|
- [ ] A message comes up saying: "Allow Briar to take pictures and record videos". Options are: While using the app, Only this time, and Deny. Tap on 'Only this time'
|
|
|
- [ ] A message shows saying "Allow Briar to access this device's location? Options are: While using the app, Only this time, and Deny. Select 'Only this time'.
|
|
|
- [ ] A message comes up saying: "Allow Briar to take pictures and record videos". Options are: While using the app, Only this time, and Deny. Tap on 'While using the app'
|
|
|
- [ ] A message shows saying "Allow Briar to access this device's location? Options are: While using the app, Only this time, and Deny. Select ('_Only this time_') 'Allow when in use'.
|
|
|
- [ ] A message appears saying: "Briar wants to make your phone visible to other bluetooth devices during 120 seconds. Options are Allow and Deny. Tap: Allow
|
|
|
- [ ] Tap on 'continue' when asked.
|
|
|
|
... | ... | @@ -104,107 +107,59 @@ Device 2 (Nokia 3.1 Android 10) |
|
|
|
|
|
Expected results:
|
|
|
- [ ] contacts are successful added and they appear in each other's contact lists, as online.
|
|
|
- [ ] the device location settings are: Device 1 = unchanged ("ask every time"), device 2 has changed from the initial state of 'denied' to 'allow while using the app'.
|
|
|
- [ ] Android 11 device should ask for permission to use the camera and location services every time briar attempts to use those services.
|
|
|
- [ ] the device location settings are: Device 1 = unchanged ("allow while using the app"), device 2 has changed from the initial state of 'denied' to 'allow while using the app'.
|
|
|
|
|
|
POTENTIAL BUG AS BRIAR DOES NOT ACTUALLY ASK EVERY TIME FOR PERMISSION TO USE THE CAMERA AND LOCATION SERVICES; IT DOES ASK THE FIRST TIME IT IS INSTALLED AND IT DOES ASK WHEN SETTINGS ARE INITIALLY SET TO "DENY"; BUT IF THE USER THEN SELECTS AS EVERY TIME, THE NEXT TIME THEY TRY TO USE CAMERA OR LOCATION BRIAR DOES NOT ASK FOR PERMISSIONS;
|
|
|
|
|
|
(note: Ask every time option does not exist in Android 10 devices, nor in older ones)
|
|
|
(note: Ask every time option does not exist in Android 10 devices, nor in older ones.)
|
|
|
|
|
|
|
|
|
Question: when should the user be taken to the app settings (in the device settings) to actually allow the device to access location and when should they be able to select them in little pop up box? QUESTION SENT TO THE TEAM
|
|
|
|
|
|
QUESTION: PIxel2 Android 11 - when I deny Briar permission to use the location services, I get this message: "You have denied access to your location, but Briar needs this permission to discover bluetooth devices. Please consider granting access. " Options are OK or Cancel. On Nokia 3.1 Android 10, in the same situation I get this message "To discover bluetooth devices, Briar needs permission to access your location. Briar does not store your location or share it with anyone. 'Continue' This is not a bug in a sense that it doesn't work, but seems inconsistent and also indicates that there are two messages defined somewhere, when maybe one could suffice? Should these kinds of things be reports in gitlab? (with priority Low)?
|
|
|
Steps described in #2001
|
|
|
|
|
|
QUESTION: Similar for permission to use the camera: Android 10: message when denying the camera use: To scan the QR code Briar needs access to the Camera, and the option given to the user is Continue. Tapping on this, brings up the popup again, where user can select: Allow, Deny and Deny and don't ask again. On Android 11, when denying the use of camera by selecting Deny on the popup, user gets this message: "You have denied access to the camera, but adding contacts requires using the camera. Please consider granting access. Options given to the user are: Ok or cancel. If user taps OK, they are taken to the actual device settings for Briar app, where they can give Briar permissions and then navigate back from there to Briar app (this is seen in the video that I sent earlier). This behaviour is different on Android 11 when compared to Android 10 - on Android 10 user is simply given the same popup again, with the same options and on Android 11 they are taken to the device settings screens... Perhaps this is on purpose? Or maybe the same bahaviour on both OS versions could be sufficient?
|
|
|
|
|
|
Android11 - workflow is like this: Settings for camera and location on device are denied. On Briar, I tap on +, select ' nearby', and then I get the info screen, I tap Continue, and then popup asks me to give permission to Briar to take pictures or record videos. I deny. The next message that appears is again on the popup, asking me to give permission for use of location services. I deny that too. Then I get a message: 'You have denied access to the camera, adding contacts requires using camera. Consider granting access. With options OK or cancel. I tap cancel, it cancels the whole process of adding nearby contact. If I click OK I takes me to the device's settings for Briar app...
|
|
|
|
|
|
Conclusion: not clear at what point should each message appear... It feels like some states are not updated immediately, but... not managed to dientify any bugs or pinpoint any concrete problems.
|
|
|
- [ ] Scenario 4
|
|
|
|
|
|
- [ ] Scenario 5
|
|
|
Fresh Install - Deny Briar access to the location - twice in a row (android 11)
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 location services = Off -> Off
|
|
|
Device 2 location services = On
|
|
|
Device 1 location services = Off -> Off (deny the app permission) -> 'deny' the whole device use of location - > allow device use of location -> allo Briar access to location
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = On
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
|
|
|
- [ ] Scenario 6
|
|
|
Expected results:
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 location services = Off -> On
|
|
|
Device 2 location services = Off -> Off
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = On
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
Contacts should nto be created.
|
|
|
|
|
|
- [ ] Scenario 6
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 location services = Off -> On
|
|
|
Device 2 location services = Off -> Off
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = On
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
|
|
|
- [ ] Scenario 7
|
|
|
- [ ] Scenario 5
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 location services = Off -> On
|
|
|
Device 2 location services = Off -> On (+rotate screen)
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = On
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
During the creation of nearby contact - device setting 'use location' is changed to OFF
|
|
|
|
|
|
After the QR code displays on the screen, go to device settings and deny Location services before taking the photo of the other device's QR code.
|
|
|
Then go back to Briar, try to continue the process
|
|
|
|
|
|
- [ ] Scenario 8
|
|
|
Process continues OK.
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 location services = Off -> On (+rotate screen)
|
|
|
Device 2 location services = Off -> On
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = Off
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
|
|
|
|
|
|
- [ ] Scenario 6
|
|
|
|
|
|
- [ ] Scenario 9
|
|
|
Receive text messages + self-destructing messages, change of profile picture from an existing contact whilst making connection with another nearby contact
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 location services = Off -> On (+rotate screen)
|
|
|
Device 2 location services = Off -> Off -> On
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = Off
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
This is OK.
|
|
|
|
|
|
Deny the location services when asked, then go back and repeat the steps, + rotate screen during the process, and when asked again, allow the location services + rotate screen
|
|
|
Briar settings:
|
|
|
- [ ] Scenario 7
|
|
|
|
|
|
- [ ] Scenario 10
|
|
|
Delete one contact and try to reconnect with them - they have not deleted the contact that is trying to reconnect with them
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 location services = On -> On (+rotate screen)
|
|
|
Device 2 location services = On -> Off
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = Off
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
This is OK. The user who deleted their contact gets shown message: Contact 1 is added, and the user who hasn't deletedtheir contact gets the message 'Contact 2 already exists... ' and the contact is not created again
|
|
|
|
|
|
After the QR code displays on the screen, go to device settings and deny Location services before taking the photo of the other device's QR code.
|
|
|
Then go back to Briar, try to continue the process
|
|
|
|
|
|
- [ ] Scenario 11
|
|
|
|
|
|
Device Settings:
|
|
|
Device 1 location services = On -> Off -> On (+rotate screen)
|
|
|
Device 2 location services = On -> Off
|
|
|
Briar settings:
|
|
|
Device 1 - connect via Bluetooth = Off
|
|
|
Device 2 - connect via Bluetooth = On
|
|
|
|
|
|
Start the process on device 1, then disable the location services while the insturction screen is on, then go back to Briar to continue the process. After the QR code displays on the screen, go to device settings and deny Location services before taking the photo of the other device's QR code.
|
|
|
Then go back to Briar, try to continue the process
|
|
|
|
|
|
|
|
|
|
... | ... | |