fix: skip RootView layout snapshot tests on iOS 15#6953
Merged
Conversation
The form sheet snapshot renders inconsistently on iOS 15, causing the test to fail. Guard it to run only on iOS 16+ as a temporary fix. Co-authored-by: Cursor <cursoragent@cursor.com>
Member
Author
|
@RCGitBot please test spm-revenuecat-ui-ios-15 |
|
🚀 Triggered spm-revenuecat-ui-ios-15 → Pipeline #39052 |
The snapshot also renders inconsistently on iOS 15. Co-authored-by: Cursor <cursoragent@cursor.com>
fire-at-will
approved these changes
Jun 8, 2026
fire-at-will
left a comment
Contributor
There was a problem hiding this comment.
approving for now so we can ship the Xcode 27 beta fix, though we might want to find the root cause of this difference for now.
Member
Author
|
@RCGitBot please test spm-revenuecat-ui-ios-15 |
|
🚀 Triggered spm-revenuecat-ui-ios-15 → Pipeline #39054 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
RootViewLayoutSnapshotTestshave been failing in iOS 15 since we added the snapshot validation test for it. For some reason, the snapshots render differently on iOS 15.Description
Guards both tests to run only on iOS 16+, skipping them on iOS 15 via
XCTSkip, as a temporary workaround to unblock the release of #6949