Snapshots are different between different systems
See original GitHub issueHi,
I tried to make a snapshot of a bigger part, about 300x200 pixels big. On both, the development system and CI systems (both Windows), the size differs. So I made a snapshot of a smaller part (about 44x36 pixels) and disabled scaling: compareSnapshotCommand({ scale: false });
. Now the size is equal but the snapshot taken at our CI server shows some pixels (about 7%) that are not equal to the snapshot taken on my development machine.
an example:
Do you know if this is normal and forces us to use always a higher threshold than 0.0?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Backups vs Snapshots: Differences and Examples
The main difference between a Backup and a Snapshot is that Backups are isolated copies of data. They aren't connected to your virtual...
Read more >Difference between Backup and Snapshot - GeeksforGeeks
Backup comprises only the file system. Snapshots comprise of different types of systems like the files, software, and settings of that type.
Read more >Snapshots are different between different systems #52 - GitHub
Hi, I tried to make a snapshot of a bigger part, about 300x200 pixels big. On both, the development system and CI systems...
Read more >Storage 101: Snapshots vs backup - Computer Weekly
We go over the basics of snapshots. They are a quick and accessible way of protecting data, but they are not a substitute...
Read more >Snapshots vs. Backups vs. Replication: What's the Difference? |
Backups, snapshots, and replication are often confused but are slightly different things with the same ultimate goal of protecting your data ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, that’s how I currently run tests to prevent this sort of thing. The tests run out of a docker container so you could mimic how I set up my tests / project: https://github.com/mjhea0/cypress-visual-regression/tree/master/docker.
Going forward, I wonder if I detail how to do this easier and warn people about snaptshot diffs being different on different systems in the README?
Closing due to lack of activity… feel free to reopen