Closed GoogleCodeExporter closed 9 years ago
Running the test,
openDrawer(R.id.drawer_layout);
onView(withId(R.id.drawer_layout)).check(matches(isOpen()));
closeDrawer(R.id.drawer_layout);
onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
passes. It could be my implementation of onData....
Original comment by matthew....@gmail.com
on 28 Feb 2014 at 11:04
also, using
onView(withId(R.id.drawer_layout)).check(doesNotExist());
passes. It's probably my mistake, but when certain drawer items are clicked and
the drawer is fully closed, I show an AlertDialog. When this happens, the
drawer's layout doesn't exist. When the dialog is not shown, the layout does
exist.
Original comment by matthew....@gmail.com
on 28 Feb 2014 at 11:39
Original comment by vale...@google.com
on 6 May 2014 at 11:56
Did you find out what was wrong with your onData implementation...im having the
same problem myself.
Original comment by tbola...@gmail.com
on 25 Sep 2014 at 7:02
Original issue reported on code.google.com by
matthew....@gmail.com
on 28 Feb 2014 at 5:29