Skip to content

Conversation

@noahsmartin
Copy link
Contributor

Sometimes I see a UI test fail to find the feedback button in the SwiftUI sample app. One codepath I saw that would not present the button is if there isn't a connected UIWindowScene. Adding this assertion so if this is the reason it fails it fails early so we can tell this is happening

Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

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

LGTM.

@noahsmartin noahsmartin merged commit 3b4b557 into main Jul 29, 2025
57 checks passed
@noahsmartin noahsmartin deleted the assertSceneIsAvailable branch July 29, 2025 14:57
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