[espresso] Update some dependencies (#7195)

diff --git a/packages/espresso/CHANGELOG.md b/packages/espresso/CHANGELOG.md
index 715a3bc..96ccb32 100644
--- a/packages/espresso/CHANGELOG.md
+++ b/packages/espresso/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.2.0+8
+
+* Updates espresso and junit dependencies.
+
 ## 0.2.0+7
 
 * Updates espresso gradle and gson dependencies.
diff --git a/packages/espresso/android/build.gradle b/packages/espresso/android/build.gradle
index 6a64f66..bda13fc 100644
--- a/packages/espresso/android/build.gradle
+++ b/packages/espresso/android/build.gradle
@@ -66,17 +66,17 @@
     api 'androidx.test:rules:1.1.0'
 
     // Assertions
-    api 'androidx.test.ext:junit:1.1.3'
+    api 'androidx.test.ext:junit:1.1.5'
     api 'androidx.test.ext:truth:1.5.0'
     api 'com.google.truth:truth:0.42'
 
     // Espresso dependencies
-    api 'androidx.test.espresso:espresso-core:3.1.0'
-    api 'androidx.test.espresso:espresso-contrib:3.1.0'
-    api 'androidx.test.espresso:espresso-intents:3.1.0'
+    api 'androidx.test.espresso:espresso-core:3.5.1'
+    api 'androidx.test.espresso:espresso-contrib:3.5.1'
+    api 'androidx.test.espresso:espresso-intents:3.5.1'
     api 'androidx.test.espresso:espresso-accessibility:3.5.1'
-    api 'androidx.test.espresso:espresso-web:3.1.0'
-    api 'androidx.test.espresso.idling:idling-concurrent:3.1.0'
+    api 'androidx.test.espresso:espresso-web:3.5.1'
+    api 'androidx.test.espresso.idling:idling-concurrent:3.5.1'
 
     // The following Espresso dependency can be either "implementation"
     // or "androidTestImplementation", depending on whether you want the
diff --git a/packages/espresso/pubspec.yaml b/packages/espresso/pubspec.yaml
index 350e3a6..21aa5df 100644
--- a/packages/espresso/pubspec.yaml
+++ b/packages/espresso/pubspec.yaml
@@ -3,7 +3,7 @@
   Allows driving Flutter widgets from a native Espresso test.
 repository: https://github.com/flutter/plugins/tree/main/packages/espresso
 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+espresso%22
-version: 0.2.0+7
+version: 0.2.0+8
 
 environment:
   sdk: ">=2.12.0 <3.0.0"