Skip to content
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

Allow users to specify SnapshotTesting precision #180

Closed
wants to merge 1 commit into from

Conversation

nononoah
Copy link

@nononoah nononoah commented Jan 8, 2024

/// - parameter markerColors: The array of colors which will be chosen from when creating the overlays.
/// - parameter showUserInputLabels: Controls when to show elements' accessibility user input labels (used by Voice
/// Control).
public static func accessibilityImage(
showActivationPoints activationPointDisplayMode: ActivationPointDisplayMode = .whenOverridden,
useMonochromeSnapshot: Bool = true,
drawHierarchyInKeyWindow: Bool = false,
precision: Float = 1.0,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, we'd also move to a version that allows for the use of perceptualPrecision, as made available in 2022 here.

If there's any appetite for that migration, I'm happy to give it a go as well.

@NickEntin NickEntin added the duplicate This issue or pull request already exists label Jan 20, 2024
@NickEntin NickEntin closed this Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants