-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replacing node-resemble-js #852
base: master
Are you sure you want to change the base?
Replacing node-resemble-js #852
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good. Is this working well on your side?
I guess we should still add back jpeg support. ok to add a jpeg library if the new resemble does not already support that.
Pushed changes
resembleOptions : {
output: {
errorColor: {
red: 255,
green: 0,
blue: 255
},
errorType: "movement",
transparency: 0.3,
largeImageThreshold: 1200,
useCrossOrigin: false,
outputDiff: true
},
scaleToSameSize: true,
ignore: "antialiasing"
};
resembleOptions : {
output: {
transparency: 0.3,
largeImageThreshold: 0
},
ignore: "nothing"
}; To Do
Questions
@garris Sorry for all this questions. |
@brendonbarreto
Great work -- cheers! |
smoke-test with dockerThere's an issue with running --docker and --config together (#849 (comment)). Because of that, i can't run smoke-test with docker.
Since
@garris Is there something else that I should do in this PR? |
This is looking good. I fixed issue #849 so please rebase off of master to make sure you’re up to date. I also realized the docker option won’t work with the current smoke test because the smoke test is run off of the file system. So please just rebase and then I can pull in the changes. |
…placing-node-resemble-js
Rebase done. |
If it’s failing because of minor rendering issues (because of hardware) then you are done! Just let me know if thats the case. |
Please have a look at this report: https://drive.google.com/file/d/16T7CSoYC7q2Of49POq3HSPirHzh-_BzM/view?usp=sharing Most of then are small differences, but in some cases they look a lot different.
At some point the images were changed, but |
This reverts commit a62cc7b.
…into replacing-node-resemble-js
This reverts commit d9fc9d2.
Ok. Great. I will take another look soon. |
I just wanted to bump this -- I am sorry I have not taken another look -- I have been completely slammed at work. I have booked some time on Friday to catch up with BackstopJS work and will review then. |
No problem, thank you for letting me know. |
The changes here will result in a new release? |
@brendonbarreto @garris just wondering what is the status of this merge request? I am also running into issue where Backstop does not catch difference in color between 2 screenshots |
From my side is ready, as it has been some time that I did, there are some conflicts to solve. |
@garris any chance for this to get merged? We need the real |
Hello @garris |
Why remove node-resemble-js?
ResembleJS
directlyBreaking changes
resembleOutputOptions
was replace byresembleOptions
. Read https://github.com/HuddleEng/Resemble.js#nodejs for all the options