Open peterhav opened 6 years ago
@peterhav thanks for the idea, it would be good if the whole UI was more espresso-testable. Once we finish our current refactor (which will add a much better unit testing layer) we can probably look at this.
Hi @samtstern, any idea of when the current refactor you described in your comment above will be available?
The big refactor will be complete in v4.1, but we haven't made any progress regarding Espresso. Sorry! 😊
I'm facing the same issue. I wanted to write some simple login tests but got stuck here. I could check the visibility of top_progress_bar
to find the password
field (I know it's a bad workaround). However, since there is no IdlingResource I couldn't check if the login has finished or not.
It's been more than 4 years. Would you please help us with this issue?
Step 3: Describe the problem:
Steps to reproduce:
Observed Results:
In order to make the above test run successful, a wait needs to be introduced. To do this in a nice way, Espresso offers IdlingResources (which will cause the test to wait at the right moments).
Expected Results:
Espresso test cases covering Firebase UI code can run without adding waits in the test code.