-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add landscape orientation tests #236
Conversation
Co-authored-by: Christopher Fuller <[email protected]>
// Primary purpose is to bypass an issue when snapshot testing margins on devices with a home button such as the | ||
// iPhone 8/SE. Please see [here](https://github.com/pointfreeco/swift-snapshot-testing/issues/750) | ||
// and [here](https://github.com/pointfreeco/swift-snapshot-testing/pull/757) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this language can be improved. Maybe something such as:
// Primary purpose is to bypass an issue when snapshot testing margins on devices with a home button such as the | |
// iPhone 8/SE. Please see [here](https://github.com/pointfreeco/swift-snapshot-testing/issues/750) | |
// and [here](https://github.com/pointfreeco/swift-snapshot-testing/pull/757) | |
/// Used to avoid a bug causing invalid snapshots on devices with a home button. | |
/// | |
/// May be removed and replaced with `allTestDevices` once snapshot issue is fixed. | |
/// | |
/// Links: | |
/// https://github.com/pointfreeco/swift-snapshot-testing/issues/750 | |
/// https://github.com/pointfreeco/swift-snapshot-testing/pull/757 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see how this looks in Xcode quick help and adjust formatting of Links:
as appropriate for ideal rendering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see update. Note that I tried other ways of displaying the information so it looked polished in Quick Help, and referencing the links within a sentence worked best.
Co-authored-by: Christopher Fuller <[email protected]>
The base branch was changed.
# Conflicts: # Tests/LayoutTests/LayoutItemTests.swift # Tests/LayoutTests/LayoutTests.swift # Tests/LayoutTests/UIView+AutoLayoutTests.swift
Add landscape orientation tests for all safeArea and margin APIs