Caused by: java.lang.RuntimeException: Action will not be performed because the target view does not match one or more of the following constraints:
at least 90 percent of the view's area is displayed to the user.
Target view: "ImageView{id=2131492903, res-name=button_hamburger, desc=opens the side drawer, visibility=VISIBLE, width=64, height=64, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=6.0, y=6.0}"
//Type the user data
onView(withId(R.id.edit_name)).perform(typeText(name));
onView(withId(R.id.edit_lastname)).perform(typeText(lastname));
onView(withId(R.id.edit_email2)).perform(typeText(email));
onView(withId(R.id.edit_password2)).perform(typeText(password), closeSoftKeyboard());
//if its a number edittext we have to use String.valueOf
//also we need to closesoftkeyboard before and after, so it changes from text
//to number
onView(withId(R.id.edit_age)).perform(typeText(String.valueOf(age)),
closeSoftKeyboard());
onView(withId(R.id.edit_is_admin)).perform(typeText(admin), closeSoftKeyboard());