I’d like to automate login with Google + scenario on Android.
I develop the tests on my business phone where I use a few Google accounts, so when I click “Login with G+” button in mobile app I see a list of accounts to pick from. I can remove those accounts if needed, but then after test scenario account will be there in again.
If I’ll run the tests on some simulator or clean device the screen will be different - login and password at first time.
So the question is: can I automatically remove all G+ accounts from Android device settings before/after test using Appium?
Or I should take some other approach? Any advices are welcome!