Skip to content

test: use Espresso 3.7.0 for instrumented tests - #15

Merged
spullara merged 1 commit into
mainfrom
test/espresso-3-7
Nov 10, 2026
Merged

spullara merged 1 commit into
mainfrom
test/espresso-3-7

Conversation

@spullara

Copy link
Copy Markdown
Contributor

Summary

Compose ui-test pulls in Espresso 3.5.0. On current Android 16+ builds it calls the removed InputManager.getInstance(). Every UI test then fails at startup with NoSuchMethodException.

This PR pins espresso-core 3.7.0 through the version catalog. App code does not change.

Test plan

  • Gradle resolves androidx.test.espresso:espresso-core:3.7.0 for debugAndroidTestRuntimeClasspath.
  • ./gradlew build ktlintCheck detekt test passes (JDK 21).
  • Full connectedDebugAndroidTest on a Pixel 9 Pro XL (Android 16, CP1A.260405.005): 163/163 passed. Before this change: 160/162 failed.

🤖 Generated with Claude Code

Compose ui-test pulls in Espresso 3.5.0, which calls the removed
InputManager.getInstance() and fails every UI test on current
Android 16+ builds. Pin espresso-core 3.7.0 in the version catalog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Agent-Id: agent-a7ce0220-8c4d-43e2-823c-8410348e3a2d
@spullara
spullara merged commit dd4bc31 into main Nov 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant