I'm testing an android app with espresso. The test passes through a call to the server, which can be delayed. How to make the test wait until the desired view appears on the screen?
1 answer
Early terrible answer to this question here - link . You can first simply start the application to see how much the application element is waiting for and then set the approximate Sleep (in the example, the time in seconds is indicated). 1500 - 1.5 seconds.
|