Comments (3)
I don't think so because the goal is to validate every pixel.
What you should do is to run your app on a specified resolution, so the screenshot you are making is always same.
Ideally run everything in isolation. E.g. docker container.
from odiff.
Thanks for swift reply Dmitriy!
Do you mean , whether the cypress should run on a specified PC resolution so as to get the same screenshot OR how?
Could you please clarify this.
Thank you!
from odiff.
Either this or change the size of the window that is taking screenshot.
Environment for visual regression should be as isolated as possible.
from odiff.
Related Issues (20)
- Linux alpine. Can't compare images - empty error HOT 1
- Doesn't work inside azure function HOT 1
- Handle `no file or directory` UnhandledPromiseRejectionWarning HOT 2
- Homebrew formula? HOT 1
- A Cypress plugin
- Antialiasing is failing on tiny font differences HOT 2
- No output option
- odiff: internal error, uncaught exception HOT 4
- Update peer dependencies related Cypress HOT 3
- Could not create _export folder: EEXIST: file already exists HOT 12
- [bug] Image comparaison issue HOT 4
- Windows build HOT 1
- Does not respect EXIF orientation HOT 2
- Feature request: Add option to specify acceptable percentage of different pixels HOT 6
- Assume `nul` if no DIFF is given HOT 1
- Does not work on Windows 7 systems HOT 1
- Error saving diff png
- using imageUrl as input and export file for remote save HOT 1
- How do I draw different pixels to the grayscale image of the original image? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odiff.