Looks like EarlGrey can't use nice function of waiting APP to idle when testing our APP. Getting this error on each screen:
EarlGrey tried waiting for 5.0 seconds for the application to reach an idle state, but it didn't. EarlGrey is now forced to cleanup the state tracker because the test -[EGT testLogin] might have caused the UI thread to be in a non-idle state indefinitely
Now I disabled the function and all work fine but can't understand what could be the reason of such problems. I had same problems on Xcode 7 UI automation but only on 1 screen from entire APP (because of some massive data fetchers) and not on the welcome page.
Here is the state AppStateTracker:
Waiting for a draw/layout pass to complete
Waiting for root UIViewController to appear