title: Espresso test outputs in timeout
body: <p>I am doing usual test such as :</p>
  
  <pre><code>runTestOnUiThread(new Runnable() {
              @Override
              public void run() {
                  some_button.performClick();
                 onView(withId(R.id.some_other_button)).check(matches(isDisplayed()));
  
              }
          });
  }
  </code></pre>
  
  <p>But the test never ends. 
  Now if I take <code>onView</code> method and if I put it after the <code>runTestOnUiThread</code> statement, then the result is the same. Someone has an idea ? </p>