-
Notifications
You must be signed in to change notification settings - Fork 628
Open
Description
Describe the bug
The snapshot test is hanging:

To Reproduce
It's happening on our work project, but I'll try to isolate it and post a demo project if possible. We're simply calling:
@MainActor
private func assertSnapshots(
viewModel: ViewModelType,
config: ViewImageConfig = .iPhone13Pro,
file: StaticString = #file,
testName: String = #function,
line: UInt = #line
) throws {
let sut = try makeSUT(viewModel: viewModel)
assertSnapshot(
of: sut,
as: .image(
precision: XCTestCase.snapshotPrecision,
size: config.size ?? .zero,
traits: config.traits
),
file: file,
testName: testName,
line: line
)
}
Expected behavior
- The snapshot test passes/fails as expected
Screenshots
- None
Environment
- swift-snapshot-testing version 1.18.4 but happens on older versions too
- Xcode 26 beta 1
- Swift 6.2
- OS: iOS 26 beta 1
Additional context
This does not happen on iOS 18.5/Xcode 16.4
Metadata
Metadata
Assignees
Labels
No labels