SnapshotTesting: Allow users to specify precision when using accessibilityImage
helper
#179
Labels
duplicate
This issue or pull request already exists
Currently, users who wish to evaluate accessibility snapshots via
SnapshotTesting
have no convenient way of specifying the precision of that evaluation.Since the threshold for perceptible to human eye is less than 1, it may be ideal to allow users to modify this value to one that may be less flaky in heterogeneous execution contexts.
The method in question may be found here.
I would like to add a
precision
parameter to this method. Without as much, users wishing to modify the precision must recreate this work in some form and useAccessibilitySnapshotView
directly so that may do so themselves.If I've missed another approach here, apologies for the noise. I'm happy to write this (small) PR myself.
The text was updated successfully, but these errors were encountered: