2 ms·
You can tune the pixel difference in Selenium testing so it doesn't fail when under the acceptable pixel change limit. If it's off by one or two no biggie but o
by greenyouse 8y ago
You can tune the pixel difference in Selenium testing so it doesn't fail when under the acceptable pixel change limit. If it's off by one or two no biggie but off by 30 or 50 then maybe there was a structural change to the page, so it should fail. Something like "misMatchTolerance" from wdio-visual-regression-service[0] would allow for tweaking this. I'm sure there are similar tools for other languages.
If the UI tests catch bugs during development or help the team during a data migration, they're probably still worth having.
[0] https://github.com/zinserjan/wdio-visual-regression-service https://github.com/zinserjan/wdio-visual-regression-service