title: Does Espresso work with ImageButton?
body: <p>I have been working with test cases to perform a click on an ImageButton, but I always got the same exception: </p>
  
  <p><code>Action will not be performed because the target view does not match one or more of the following constraints:
  is displayed on the screen to the user
  Target view: "ImageButton{id=2131296372,res-name=create_an_account,..</code></p>
  
  <p>On the other hand, it works with a Button. This is the code:</p>
  
  <p><code>Espresso.onView(ViewMatchers.withId(R.id.create_an_account)).perform(ViewActions.onClick());</code></p>
  
  <p>Gradle:<code>com.jakewharton.espresso:espresso:1.1-r4-patched</code></p>