Snap.swift icon indicating copy to clipboard operation
Snap.swift copied to clipboard

Default simulator?

Open shams-ahmed opened this issue 6 years ago • 1 comments

I'm new to snapshot testing, are there are recommending/guidelines to follow when testing?

I have this strange behaviour when I create images for iPhone x it passes and when I try to use another simulator it fails. from the diffs, I can see that the UI is slightly higher by about 4/5 px.

shams-ahmed avatar Jul 24 '18 11:07 shams-ahmed

yeah this is because of phone density, depends on the iphone you run the tests it will look for the @2x, @3x image if exported, I'm working on something to fix this and make it device agnostic

skyweb07 avatar Sep 19 '18 17:09 skyweb07