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
As in backstopJS there is one option which can be set to false to let test pass is content is same (RGBS) but just height/width if difference. I mean if mismatch is 0.
Please see this issue for deep details and solution. It would be nice if we could take my suggested solution.
I checked all "js" files but no where logic on it. (find -name "*.js" | xargs grep "requireSameDimensions" )
thanks. garris/BackstopJS#456
The text was updated successfully, but these errors were encountered:
I think the result when using diff.scaleToSameSize(); should reflect the original proportions. At the moment "dimensionDifference" will return no difference after scaling. With the suggested change you intelligently report on comparisons where there are differences in dimension, but no RGBA differences after scaling.
I'll mark as a bug, happy to accept and review a Pull Request.
As in backstopJS there is one option which can be set to false to let test pass is content is same (RGBS) but just height/width if difference. I mean if mismatch is 0.
Please see this issue for deep details and solution. It would be nice if we could take my suggested solution.
I checked all "js" files but no where logic on it. (find -name "*.js" | xargs grep "requireSameDimensions" )
thanks.
garris/BackstopJS#456
The text was updated successfully, but these errors were encountered: