this simple check is working on sdk 29 but not on sdk 30:
onView(withText(R.string.text)).inRoot( withDecorView(not(mActivityRule.activity.window.decorView))) .check(matches(isDisplayed()))
I get androidx.test.espresso.NoMatchingRootException.
can anyone help with this issue?