How to Set a Google Account For Virtual Device Testing

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?

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.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.