Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use approximate location permission (#5665)
Task/Issue URL: https://app.asana.com/0/1205648422731273/1209434223230239 ### Description ### Steps to test this PR _Grant approximate location permission_ - [x] Fresh install and visit permission.site - [x] Ask for Location permissions - [x] Verify Location dialog appears - [x] Allow permissions - [x] Verify system dialog is shown - [x] Allow access to **approximate** location - [x] Verify location is granted (location button is green) _Verify SERP can access approximate location_ - [x] Fresh install and search for "cafe nearby" - [x] Verify Location dialog appears - [x] Deny permissions - [x] Verify results are based on IP geolocation and there is no blue dot on the map indicating your position - You might want to use VPN to be able to easily tell the difference between IP geolocation and real approximate location - [x] Tap on the location icon in the top right corner of the map - [x] Tap "use location" - [x] Verify Location dialog appears - [x] Allow permissions - [x] Verify system dialog is shown - [x] Allow access to **approximate** location - [x] Verify that map has reloaded and your approximate location is marked with a blue dot. #### Check following scenarios for regression - no behavior changes are expected _Precise location permission granted_ - [x] Fresh install and visit permission.site - [x] Ask for Location permissions - [x] Verify Location dialog appears - [x] Allow permissions - [x] Verify system dialog is shown - [x] Allow access to **precise** location - [x] Verify location is granted (location button is green) _Location permission not granted_ - [x] Fresh install and visit permission.site - [x] Ask for Location permissions - [x] Verify Location dialog appears - [x] Deny permissions - [x] Verify location is not granted (location button is red) _Location permission granted (not system granted)_ - [x] Fresh install and visit permission.site - [x] Ask for Location permissions - [x] Verify Location dialog appears - [x] Allow permissions - [x] Verify system dialog is shown - [x] Deny permissions - [x] Verify location is not granted (location button is red) - [x] Verify Snackbar appears - [x] Ask for Location permissions - [x] Verify system dialog is shown - [x] Deny permissions - [x] Verify Settings dialog appears - [x] Tap on Open Settings - [x] Verify Device Settings screen opens ### No UI changes --------- Co-authored-by: Noelia Alcala <nalcalag@gmail.com>
- Loading branch information