Skip to content

Conversation

@philipphofmann
Copy link
Member

Simplify the UI test by writing the corrupted envelope and then starting the SDK. This removes the need to relaunch the app, which often is problematic in CI. Furthermore, this PR now lets the UI test fail with an error message if the test can't write the corrupted envelope instead of using fatalError. So when this fails, we know clearly what went wrong.

Helps with #5422.

#skip-changelog

Simplify the UI test by writing the corrupted envelope and then starting
the SDK. This removes the need to relaunch the app, which often is
problematic in CI. Furthermore, this PR now lets the UI test fail with
an error message if the test can't write the corrupted envelope instead
of using fatalError. So when this fails, we know clearly what went
wrong.
Copy link
Contributor

@noahsmartin noahsmartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@philipphofmann philipphofmann merged commit aa96485 into main Jul 3, 2025
14 checks passed
@philipphofmann philipphofmann deleted the test/simplify-ui-corrupted-envelope-test branch July 3, 2025 06:02
philipsawyerdd added a commit to justin-doordash/sentry-cocoa that referenced this pull request Sep 25, 2025
philipsawyerdd added a commit to justin-doordash/sentry-cocoa that referenced this pull request Sep 25, 2025
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.

3 participants