BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

is it possible to call a callback after each scenario

Open aloneblood opened this issue 1 year ago • 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?

aloneblood avatar Dec 08 '23 13:12 aloneblood

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

fuhlig avatar Dec 21 '23 11:12 fuhlig