Good day! I have no "GrantPermissionRule.grant" in my test app, but permissions are granted automatically anyway during the test. How to deny this behaviour? I want to test it with UiAutomator.
Asked
Active
Viewed 171 times
1
-
That's odd because AFAIK there's no automatic handling of these. Which API are you targeting? Are you sure you've reset the permissions prior to running the test? – Mike Collins Feb 16 '21 at 18:01
-
Yes, I can reproduce this behavoir on the local devices. BUT cloud devices (AWS Devices Farm) works ok. – Vladimir Fisher Feb 17 '21 at 11:38
-
So only in the cloud are permissions being granted automatically? Many cloud services back this sort of functionality in. If I'm understanding correctly, there should be some configuration you can be doing on the AWS side to disable this. Contact their support? I use CircleCI and have to tell them to not do certain things my local devices or simulators don't do. – Mike Collins Feb 17 '21 at 18:29
-
No, vice versa, locally permissions granted automatically even if I removing rule with grant permissions. But no matter already :) Maybe, Mike, you can help me with another question please ? - https://stackoverflow.com/questions/66241159/aws-device-farm-java-lang-classnotfoundexception-didnt-find-class-androidx ? – Vladimir Fisher Feb 18 '21 at 10:44
-
Running into the same issue! Any advice? – LiuWenbin_NO. Feb 16 '22 at 08:09