Testing
Jetpack Compose UI Testing: Semantics, Finders, Actions, and Assertions
Jetpack Compose has its own testing APIs that don't use Espresso's view matchers. Instead, Compose tests work against the semantics tree — an accessibility-oriented representation of your UI that's separate from the rendering layer. This makes Compose tests faster and less brittle than Espresso tests