Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Write Automated Tests for Google Password Manager in an Android App? #82

Open
SinaSeylani opened this issue May 22, 2024 · 1 comment

Comments

@SinaSeylani
Copy link

I am developing an Android app with a login feature that utilizes passkeys. I would like to write automated tests for this part of the app where the Google Password Manager shows up.

Here is the flow I want to test:

1- Click on "Login with Passkeys".

2- The Google Password Manager shows up.

3- Mock the response from the Google Password Manager with success.

4- User lands on the next screen.

I am looking for guidance on how to achieve this. Specifically, how can I mock the response from the Google Password Manager in my automated tests?

image

@niharika2810
Copy link
Contributor

Hey you could always create mock responses to do that for whatever variables you are using? Is there is any issue on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants