medic / cht-release-testing

Used to track release testing on medic projects
2 stars 0 forks source link

Test location and GPS #110

Open ngaruko opened 3 years ago

ngaruko commented 3 years ago

User: Restricted/ Online Site: Instance(gamma, gamma-b, cht) Platform: Mobile App

Notes before start testing (from comment in issue #111 )

Test Steps:

Expected results:

NOTE: To be able to see all the correct information in the report using Android 5 the "Location Mode" should be in "High accuracy"

image

Related Issues:

ngaruko commented 3 years ago

New Install. New login Create a report User shown the 'prominent disclosure' and accepts User shown the location permission dialog Accept and submit the report Go to database _utils/#database/medic/<report_UUID> Report should have

 "geolocation_log": [
    {
      "timestamp": 1616970414062,
      "recording": {
        "latitude": xxxxxxxxxxx,
        "longitude": xxxxxxxxxx,
        "altitude": 63.03634408150303,
        "accuracy": 13.819999694824219,
        "altitudeAccuracy": null,
        "heading": null,
        "speed": null
      }
    }
  ],
  "geolocation": {
    "latitude": xxxxxxx,
    "longitude": xxxxxxxxx,
    "altitude": 63.03634408150303,
    "accuracy": 13.819999694824219,
    "altitudeAccuracy": null,
    "heading": null,
    "speed": null
  },

Do more testing that involves rejecting prompts and checking that location data were not saved etc

tatilepizs commented 2 years ago

User: CHW Config: Default 
Environment: gamma-cht Platform: Mobile App. APK v1.0.0-alpha.1 cht-core version: 3.15.0

____

Android 10

Phone: Samsung Galaxy A01 Android Version: 10 Android System WebView Version: 101.0.4951.41

Sent a "Pregnancy Registration" report. Selected "No thanks" in the first location access request. The report was sent successfully. ![image](https://user-images.githubusercontent.com/94494491/167907344-5c7c60a5-eb65-409c-a420-a50e8762ef9f.png) ![image](https://user-images.githubusercontent.com/94494491/167907569-0bc77675-7cf5-4538-8365-7bb948eb0bfd.png) ![image](https://user-images.githubusercontent.com/94494491/167908003-4a96af71-98a6-47b5-853f-0337bcc98714.png)
Sent a "Pregnancy Home Visit" report. Selected "Turn on" in the first location access request, and "Deny" in the second request. The report was sent successfully. ![image](https://user-images.githubusercontent.com/94494491/167908603-63f8813b-221b-4783-aea0-a20de6d9d395.png) ![image](https://user-images.githubusercontent.com/94494491/167909954-4dbb57fe-9786-423e-ab53-16a8e6b92709.png) ![image](https://user-images.githubusercontent.com/94494491/167909803-800df759-61a8-484f-b00c-58257088076b.png) ![image](https://user-images.githubusercontent.com/94494491/167909769-71bf6c3c-dcd8-4bd0-b6fe-d7bc7f10a7de.png)
Sent a "Pregnancy Home Visit" report. Selected "Turn on" in the first location access request, and "Allow only while using the app" in the second request. The report was sent successfully. ![image](https://user-images.githubusercontent.com/94494491/167908603-63f8813b-221b-4783-aea0-a20de6d9d395.png) ![image](https://user-images.githubusercontent.com/94494491/167911558-eb1df2fe-2af4-4a21-a401-4cf2073dbc28.png) ![image](https://user-images.githubusercontent.com/94494491/167911637-9ae45176-7542-41f3-b5e7-530162f2ff19.png) ![image](https://user-images.githubusercontent.com/94494491/167960139-3ed91d2d-2cb9-49a8-8310-07f98c208da8.png)

____

Android 5.1

Phone: Alcatel Onetouch 50560 Android Version: 5.1.1 Android System WebView Version: 95.0.4638.74

Location access was granted when the app was installed. A "Pregnancy Registration" report was sent successfully. ![image](https://user-images.githubusercontent.com/94494491/167930751-d35c8994-8cb1-4e7a-9ec7-08cdd8dfb7e6.png) ![image](https://user-images.githubusercontent.com/94494491/168158442-4aca96ce-a313-4c4c-93f9-3ddf5a17ae2b.png) ![image](https://user-images.githubusercontent.com/94494491/168158917-557f3151-8214-401a-8f0e-32fab434feba.png)