|
|
|
Briar settings:
|
|
|
|
Settings > Connections >
|
|
|
|
- Connect to contact via bluetooth = off
|
|
|
|
- Connect to contacts on the same wi-fi network = off
|
|
|
|
- Connect to contacts via internet = on
|
|
|
|
|
|
|
|
Device settngs:
|
|
|
|
- Wi-fi = on
|
|
|
|
- Bluetooth = off
|
|
|
|
|
|
|
|
Scenarios:
|
|
|
|
1. Both devices online at the same time
|
|
|
|
- [ ] Use two devices with above settings and exchange their connection codes(send via email, sms, other chat apps etc) using the share button
|
|
|
|
- [ ] Verify that connection is successfully created and the new contact's name appears on top of the list on Contacts screen. This should happen within seconds if both devices are online.
|
|
|
|
|
|
|
|
2. One device online and the other connects later on ( a few hours later)
|
|
|
|
- [ ] at the bottom of the Contacts screen, there is a message tothe user 'Pending contacts...' and the user can click on Show, which will display the name of the user whose connection is pending.
|
|
|
|
- [ ] It is possible to delete this pending contact by tapping on the bin icon - delet it
|
|
|
|
- [ ] recreate contact at a distance in the same way
|
|
|
|
- [ ] Contact should be created successfully when the contact comes online
|
|
|
|
|
|
|
|
3. Recreate the same contact with the same code when the contact is already created
|
|
|
|
- [ ] there should be a message saying: "is this the same person" and the user can choose Yes or No.
|
|
|
|
- [ ] If Yes is chosen, no new contact is created. If No, then a new contact is created.
|
|
|
|
|
|
|
|
4. Delete an already created contact on one device and re-create it with the same code that was used previously. Used the Copy and Paste buttons underneath each field.
|
|
|
|
- [ ] Contact should be created successfully
|
|
|
|
|
|
|
|
5. Perform copying of code whilst the device is in portrait and pasting whilst device is in landscape. Give the contact name in portrait, then tap Add contact in landscape.
|
|
|
|
- [ ] Contact should be created successfully
|
|
|
|
|
|
|
|
6. Copy and paste the codes (using the popup Paste button), give the new contact a name, and tap Add contact, then immediately - home button. Restart briar from recently used apps.
|
|
|
|
- [ ] Contact should be created successfully
|
|
|
|
|
|
|
|
7. Copy and paste the codes (using the popup Paste button) in landscape, give the new contact a name, and tap Add contact, then immediately - home button. Restart briar from recently used apps in portrait.
|
|
|
|
- [ ] Contact should be created successfully
|
|
|
|
|
|
|
|
8. copy and paste codes for a contact that is not online - so the contact creation remains in Connecting/Waiting for the contact to come online. Repeat for another contact. Then, whilst the first two are 'waiting for the contact to come online', create a third and a fourth contact in the same way.
|
|
|
|
- [ ] Contact should be created successfully
|
|
|
|
|
|
|
|
9. The 'waiting to come online' contacts should time out after certain time (48 hours).
|
|
|
|
- [ ] After that the contact stays in the Pending list of contacts but its status changes to Failed.
|
|
|
|
- [ ] recreate the contact at a distance after a time-out and verify that it can be created successfully
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|