How to perform actionDone event of EditText with Espresso
<p>Question in the title.</p>

<p>I tried something like:</p>

<pre><code>    onView(withId(R.id.search_edit_text))
            .perform(typeText("some"), pressKey(KeyEvent.KEYCODE_ENTER));
</code></pre>

<p>But it doesn't work. Keyboard is still shown and <code>TextView.OnEditorActionListener</code> not called. Any ideas?</p>