### Description Current Critical UI tests use production Sentry DSN and do not check if the crash envelope left the device. We would add a mock Sentry Relay to assert that the app recovers (cover by current tests) and also sends a crash report. - Java PR: https://github.com/getsentry/sentry-java/pull/3811
Description
Current Critical UI tests use production Sentry DSN and do not check if the crash envelope left the device.
We would add a mock Sentry Relay to assert that the app recovers (cover by current tests) and also sends a crash report.