TestProject Forum

Recurring location permission

I keep getting a location permission dialogue each time the app starts. This happens for all of the tests. The tests stop running as soon as the dialogue appears. I have tried both “allow” and “deny”. How do I solve this?

Hi @mgg7934
You can add this capability which will open your app with all permission granted
Set this capability in your job capabilities

{
  "autoGrantPermissions": "true"
}

Like this:

Let me know if that worked for you.

The solution is for Job but what about just running the tests individually instead of running the tests in Job?