You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I going to setup screenshot testing using @storybook/test-runner + jest-image-snapshot
@storybook/test-runner uses jest-playwright under the hood, and issue is - screenshots different in various OS.
I understand that this is a normal behavior, different OS renders things differently...
But is its possible to do something to minimize this difference, so i can use some threshold as now its not possible, as it depends on to many factiors?
Seems in my case - difference in fonts and box shadows..
The text was updated successfully, but these errors were encountered:
@mokone91 There's not much you can do to get the same screenshots between OSes. You can use a container to run your visual tests - this way you'll have a reproducible environment.
Hi!
I going to setup screenshot testing using @storybook/test-runner + jest-image-snapshot
@storybook/test-runner uses jest-playwright under the hood, and issue is - screenshots different in various OS.
I understand that this is a normal behavior, different OS renders things differently...
But is its possible to do something to minimize this difference, so i can use some threshold as now its not possible, as it depends on to many factiors?
Seems in my case - difference in fonts and box shadows..
The text was updated successfully, but these errors were encountered: