Open jermainedilao opened 1 year ago
@jermainedilao could you create a Pull Request to reproduce your issue. By sample provided by you - it looks definitely incorrect. For issues like that I can suggest you use support chat in Telegram. Link can be found in repo README
Steps to reproduce:
withIndex(1) { withId(R.id.recyclerView) }
Observed Results:
androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: view holder at 0 position of recycler view: (1th view with: (view.getId() is <2131363464/com.package.name.debug:id/recyclerView>))
Expected Results:
I am expecting it to match the children of the RecyclerView inside the second tab.
Note that matching child items of the RecyclerView inside the first tab (
withIndex(0)
) works properly.Relevant Code:
This is how I match my RecyclerViews.
Is there something wrong with how it is set up? Please help.