Skip to content

test(network-details): Add integration tests for completion handler s…

c24784c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

feat(network-details): Introduce new swizzling to capture response bodies for session replay #7584

test(network-details): Add integration tests for completion handler s…
c24784c
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed Apr 13, 2026 in 0s

4628 tests run, 4605 passed, 21 skipped, 2 failed.

Annotations

Check failure on line 1 in Tests/SentryTests/Integrations/Performance/Network/SentryNetworkDetailSwizzlingTests.swift

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SentryNetworkDetailSwizzlingTests.testDataTaskWithRequest_completionHandler_capturesNetworkDetails

/Users/admin/actions-runner/_work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Integrations/Performance/Network/SentryNetworkDetailSwizzlingTests.swift:77 - XCTUnwrap failed: expected non-nil value of type "SentryReplayNetworkDetails" - Swizzled completion handler should have populated network details on the breadcrumb

Check failure on line 1 in Tests/SentryTests/Integrations/Performance/Network/SentryNetworkDetailSwizzlingTests.swift

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SentryNetworkDetailSwizzlingTests.testDataTaskWithURL_completionHandler_capturesNetworkDetails

/Users/admin/actions-runner/_work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Integrations/Performance/Network/SentryNetworkDetailSwizzlingTests.swift:123 - XCTUnwrap failed: expected non-nil value of type "SentryReplayNetworkDetails" - Swizzled completion handler should have populated network details on the breadcrumb