Hi, I have a problem with Android permissions.
I have a hook which uses clear_app_data when my scenario fails, to reset app of possible artifacts left after incomplete test execution:
if scenario.failed?
clear_app_data
end
But starting from android M in the consequent tests app asks for permissions at login and it causes all the consequent test to fail.
Could you please advice me, how can I restore permissions after clear_app_data?