Expected behavior
The disabled Button should be correctly rendered with dark text.
Screenshots
Incorrect button:
Expected button:
Environment
swift-snapshot-testing version 1.9.0
Xcode 14.0.1 (14A400)
Swift 5.7
OS: macOS Ventura 13.0
Additional context
Buttons work properly when I run the application. I noticed that this problem occurs also on the SwiftUI preview until you change something on the View. It looks like the button is in the middle of the transformation, the background is greyed out but the text is still white. .wait(for: X, on: .image) doesn't help either.
Describe the bug After migrating to macOS Ventura and Xcode 14.0.1 disabled buttons on my snapshots are incorrectly rendered.
To Reproduce
Expected behavior The disabled Button should be correctly rendered with dark text.
Screenshots Incorrect button:
Expected button:
Environment
Additional context Buttons work properly when I run the application. I noticed that this problem occurs also on the SwiftUI preview until you change something on the
View
. It looks like the button is in the middle of the transformation, the background is greyed out but the text is still white..wait(for: X, on: .image)
doesn't help either.