android - Remote testing with Google sign in -


my app built use google play services api , relies on google sign in. i've decided add instrumented tests project. i'm able run them locally on emulator or real device, i've faced problem on remote emulator within ci server (i'm using travis ci). when app launches first time, user prompted google account , following screen appears.

enter image description here

when happens locally i'm able enter password , keep tests alive, on remote server can nothing , tests fail.

so here question: how can add google account device (emulator) command line/espresso code/via travis ci tools? possible using adb/avd command line tools?


Comments

Popular posts from this blog

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -