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

Avoid automatic recording if the snapshot is not present (use case: test retry) #624

Closed
broomburgo opened this issue Aug 23, 2022 · 2 comments

Comments

@broomburgo
Copy link

I'd like to avoid automatic recording if the snapshot is not present. The use case, on my side, is the following:

  • I give explicit names to snapshots;
  • I enabled the test retry in the test plan.

The result is that, if some snapshots are missing, tests will actually pass because the first pass will record the snapshot, and the second will compare the new snapshot with the one that was just produced. But I'd prefer if the tests failed, so it there was the option, I'd disable the automatic recording. Is it possible?

Thanks

@markst
Copy link

markst commented Oct 20, 2022

Isn't this a dupe of #530?

@broomburgo
Copy link
Author

I'm closing this. It's already tracked in #531

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