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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With