Reputation: 6126
Is there an elegant way to fail an espresso test. For example, the network isn't present dialog appears, how do I stop tests in such a case and fail.
Upvotes: 1
Views: 141
Reputation: 142
Try to run the UI tests in an isolation (without Network data) or mock a server using Mockito.
Upvotes: 2