garris/BackstopJS

is it possible to call a callback after each scenario

aloneblood opened this issue · 1 comments

There are many scenarios (more than 2000 URLs) that need to be screenshots, I want to know the progress such as 15% or 15/100.
But I can not find any way, is there a way to do that?

fuhlig commented

I'm also running 2000+ scenarios and I am logging the process before each 10% of scenarios inside the onReady script. Not as accurate as doing it afterwards but sufficient IMO.

Not aware of callbacks, you might have to use custom scripts for that
https://github.com/garris/BackstopJS?tab=readme-ov-file#running-custom-scripts