Espresso Test Failed: Wanted to match 1 intents. Actually matched 0 intents
问题 I am trying to test that my SplashActivity correctly launches HomeActivity if the user is logged in. I have looked at related questions on StackOverflow, this seems to be a common issue, but I just cannot seem to get anything to work. I have watched the test execute on my device and visually verified that SplashActivity is indeed launching HomeActivity. HomeActivity expects a plain intent with no data. Here is the full error: IntentMatcher: has component: has component with: class name: is