@@ -0,0 +1,3118 @@
+package com.designatednerd.wino.ui;%0A%0Aimport android.support.annotation.IdRes;%0Aimport android.support.annotation.StringRes;%0Aimport android.support.v7.widget.RecyclerView;%0Aimport android.view.View;%0A%0Aimport org.hamcrest.Matcher;%0A%0Aimport static android.support.test.espresso.Espresso.onView;%0Aimport static android.support.test.espresso.action.ViewActions.*;%0Aimport static android.support.test.espresso.matcher.ViewMatchers.*;%0A//import static android.support.test.espresso.contrib.RecyclerViewActions.*;%0A//%0A//import static android.support.test.espresso.Espresso.onView;%0A//import static android.support.test.espresso.action.ViewActions.*;%0A//import static android.support.test.espresso.assertion.ViewAssertions.matches;%0A//import static android.support.test.espresso.contrib.DrawerActions.openDrawer;%0A//import static android.support.test.espresso.contrib.DrawerMatchers.isClosed;%0A//import static android.support.test.espresso.matcher.ViewMatchers.*;%0Aimport static org.hamcrest.CoreMatchers.allOf;%0A%0Apublic class EspressoHelpers %7B%0A%0A    public static void enterTextIntoViewWithID(String aTextToEnter, @IdRes int aViewID) %7B%0A        onView(withId(aViewID)).perform(typeText(aTextToEnter));%0A    %7D%0A%0A    public static void scrollToViewWithID(@IdRes int aViewIDRes) %7B%0A        onView(withId(aViewIDRes)).perform(scrollTo());%0A    %7D%0A%0A    public static void tapViewWithText(String aText) %7B%0A        onView(withText(aText)).perform(click());%0A    %7D%0A%0A    public static void tapViewWithText(@StringRes int aTextResID) %7B%0A        onView(withText(aTextResID)).perform(click());%0A    %7D%0A%0A    public static void tapViewWithID(@IdRes int aViewResID) %7B%0A        onView(withId(aViewResID)).perform(click());%0A    %7D%0A%0A    //TODO: FIX%0A%0A//    public static Matcher%3CView%3E withRecyclerView(@IdRes int viewId) %7B%0A//        return allOf(isAssignableFrom(RecyclerView.class), withId(viewId));%0A//    %7D%0A//%0A//%0A//    //Modified from https://gist.github.com/tommyd3mdi/2622caecc1b2d498cd1a%0A//    public static ViewInteraction checkRecyclerViewHasItemWithTitle(@IdRes int aParentRecyclerViewID,%0A//                                                                    @IdRes int aRecyclerRowLayoutID,%0A//                                                     @IdRes int aRecyclerViewTextViewID,%0A//                                                    String title) %7B%0A//%0A//        onView(allOf(withParent(withRecyclerView(aParentRecyclerViewID)), //The view has a parent which is the recyclerview%0A//                withChild(allOf(withId(aRecyclerRowLayoutID),%0A//                        withChild())));%0A//%0A//        Matcher%3CView%3E matcher = withChild(allOf(withId(identifyingView), identifyingMatcher)))%0A//        withRecyclerView(aParentRecyclerViewID)%0A//        Matcher%3CView%3E on =%0A//%0A//                allOf(withParent(withId(aRecyclerRowID)), //Parent of the view is the full recyclerview%0A//                withId(aRecyclerViewTextViewID), //Has the given id and%0A//                withChild(allOf(withId(aRecyclerViewTextViewID), aChildIdentifyingMatcher))); //which has a child with the text view ID and matching the matcher.%0A//%0A//        return onView(outerSubview);%0A//    %7D%0A%7D%0A

Add espresso helpers, comment out stuff that ain't working