You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to verify that my snackbar was shown with specific message but after updating Espresso version from 3.4.1 (which had issue with BottomSlidingPanel) to 3.5.1 I'm no longer able to verify the message that is shown in my snackbar.
I have done checks on multiple versions and can say that last version which snackbar assertions was working for me was 3.5.0-alpha01.
Steps to Reproduce
Here is how I'm verifying it: onView(waitForVisibilityOf(withId(R.id.snackbar_text))).check(matches(withText(message)))
where message is a parameter that was passed from outside.
Expected Results
The test should pass on the updated version.
Actual Results
Test is failing.
AndroidX Test and Android OS Versions
Android SDK 30 and 32
The text was updated successfully, but these errors were encountered:
We are not aware of possible recent changes that can cause this problem.
Do you see any error messages (stack trace and/or errors in the Logcat logs) when the assertion failed? Also, can you make a sample project for repro purposes? Otherwise, it would be really hard for us to look into this.
Description
I am trying to verify that my snackbar was shown with specific message but after updating Espresso version from 3.4.1 (which had issue with BottomSlidingPanel) to 3.5.1 I'm no longer able to verify the message that is shown in my snackbar.
I have done checks on multiple versions and can say that last version which snackbar assertions was working for me was 3.5.0-alpha01.
Steps to Reproduce
Here is how I'm verifying it:
onView(waitForVisibilityOf(withId(R.id.snackbar_text))).check(matches(withText(message)))
where message is a parameter that was passed from outside.
Expected Results
The test should pass on the updated version.
Actual Results
Test is failing.
AndroidX Test and Android OS Versions
Android SDK 30 and 32
The text was updated successfully, but these errors were encountered: