How to Set a Google Account For Virtual Device Testing

testing
android
#1

The Virtual Device Testing for Android Step as a configuration option “Add preconfigured Google account”.

I believe this allows us to log into the device as a user of our choosing. I want to do this to test a Google Pay Flow.

However, there doesn’t seem to be a way to choose an account. How can I set this up with a user of my choosing?

0 Likes

#2

Hey @SamuelDoward,

I don’t think you can provide an actual Google account for testing, unfortunately. I recommend mocking Google Pay dependencies in your tests to simulate the flow.

0 Likes