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
Is there a way of taking the screenshot, saving it to disk, and diffing it against the reference in an async mode? I can see the browser have to wait for a second or so for each checkDocument call, slowing the test suite quite a bit. It would be great if the browser can rush through the tests and queue up the image saving/diffing separately.
The text was updated successfully, but these errors were encountered:
Since v0.9.0 the image comparison is async for each screenshot taken in a checkDocument call. But it blocks the command of course until all images are compared, otherwise we cannot provide the result report.
But I'm not sure if this is the case for LocalCompare cause it uses node-resemble-js. Feel free to test it. If it isn't async maybe we can use some kind of worker for resemblejs like worker-farm.
Is there a way of taking the screenshot, saving it to disk, and diffing it against the reference in an async mode? I can see the browser have to wait for a second or so for each
checkDocument
call, slowing the test suite quite a bit. It would be great if the browser can rush through the tests and queue up the image saving/diffing separately.The text was updated successfully, but these errors were encountered: