Skip to content

Firebase-UI and Espresso testing #200

@peterhav

Description

@peterhav

Hello, I'm using this library for quite some time now and it works fine. Thanks for the effort!
At this moment I'm running into an issue setting up my test code: I would like to sign in a (test) user using an Espresso test case. Starting the sign in flow works fine, but as soon as I need to click the "NONE OF THE ABOVE" button in the email selection dialog, I run into the issue that this code is not part of the library (I'm not able to click on it within the test cases). 2 possible options that might help:

  1. make the email selection behavior part of the library (in order to make Espresso testing possible)
  2. make the behavior optional (e.g. with a disableMailSelectionDialog method on the createSignInIntentBuilder)?

Not sure if this is technically possible and maybe there are better more elegant solutions?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions