I've got an activity with two DatePicker controls and some text inputs and buttons. I would like to test some scenario by espresso:
- Set date to first
DatePicker. - Set some text and click buttons witch trigger my business logic and set date to second
DatePicker. - Check date of second
DatePicker.
In 3rd step I would like to do something like onView(withId(R.id.end_date_picker)).check(matches(withText("25-01-2017")));. What can I use instead of withText to check DatePicker Calendar/Date value? Thanks for any help.