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
In our project, we're using snapshot testing. However, some devs are running Windows, some are running OSX and the CI is using Linux. Rendering the snapshots could be different on either one of the environments. (fonts, shadow rendering)
How do you solve this issue?
What we're currently doing is running Docker with Linux locally to match the CI. But it feels a bit odd to be having to use Linux, a system that our user base doesn't use. Also we're currently experiencing an issue with running Docker locally, which raises this question, why use Docker at all for this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In our project, we're using snapshot testing. However, some devs are running Windows, some are running OSX and the CI is using Linux. Rendering the snapshots could be different on either one of the environments. (fonts, shadow rendering)
How do you solve this issue?
What we're currently doing is running Docker with Linux locally to match the CI. But it feels a bit odd to be having to use Linux, a system that our user base doesn't use. Also we're currently experiencing an issue with running Docker locally, which raises this question, why use Docker at all for this.
Beta Was this translation helpful? Give feedback.
All reactions