assert - Record Espresso Testcases in Android studio 2.2 -
i using android studio 2.2 , try record espresso test. unable add asserts toast messages, edittext error message or snackbar message. getting below exception snackbar text
android.support.test.espresso.nomatchingviewexception: no views in hierarchy found matching: (with id: com.example.root.myapplication:id/snackbar_text , text: "enter email" , child @ position 0 in parent child @ position 2 in parent instance of android.view.viewgroup , displayed on screen user)
any appreciated.
thanks
view hierarchy:
Comments
Post a Comment