Issue
I have tried DrawerActions.open() but it is showing undefined. Is there any other ways to access navigation drawer ??
Please suggest.
Is something wrong with DrawerActions class of espresso,I am unable to View it. If you have any thoughts please share.
Solution
Check if you're missing the espresso-contrib library on your build.gradle file.
androidTestImplementation 'com.android.support.test.espresso:espresso-contrib:3.0.2'
If in case you are using androidx
,
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.2.0'
Check other useful espresso extension libraries on the following link - https://developer.android.com/training/testing/espresso/#packages
Answered By - João Magalhães
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.