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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -