Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to call a callback after each scenario #1521

Open
aloneblood opened this issue Dec 8, 2023 · 1 comment
Open

is it possible to call a callback after each scenario #1521

aloneblood opened this issue Dec 8, 2023 · 1 comment

Comments

@aloneblood
Copy link

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
Copy link
Contributor

fuhlig commented Dec 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants