Skip to content

Conversation

philipphofmann
Copy link
Member

Replace the dispatch group with a XCTestExpectation to get a failure message when the wait times out.

Contributes to GH-5789

Replace the dispatch group with a XCTestExpectation to get a failure
message when the wait times out.

Contributes to GH-5789
cursor[bot]

This comment was marked as outdated.

Copy link
Member

@philprime philprime left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

codecov bot commented Aug 7, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
31861 1 31860 97
View the full list of 1 ❄️ flaky tests
iOS_SwiftUI_UITests.LaunchUITests::testNoNewTransactionForSecondCallToBody

Flake rate in main: 13.51% (Passed 32 times, Failed 5 times)

Stack Traces | 0s run time
.../iOS-SwiftUI/iOS-SwiftUI-UITests/LaunchUITests.swift:36 - Failed to tap "Form Screen" Button: Timed out while evaluating UI query.

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@philipphofmann philipphofmann merged commit d88a5e4 into main Aug 7, 2025
48 of 49 checks passed
@philipphofmann philipphofmann deleted the test/xctestexpectation-sentry-sdk-internal branch August 7, 2025 10:41
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.

2 participants