-
Notifications
You must be signed in to change notification settings - Fork 22
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
#ss takes screenshot on the step it's attached to #51
Comments
Let's discuss this feature request here |
Ok I think that this is good, a few comments below:
#ss takes before and after Or is this to many options? Also would it be worth while changing the --step-data flag to something like I know that the intent here is that there might be other things that are deleted but at the moment it is only screenshots? This would maybe make the flag more clear / say what it is and give more control in the future if you have other things to delete. Just a thought. |
Those are some good points. I like the whole https://smashtest.io/ui-testing/screenshots does say that screenshots are automatically taken (by default). I'll look into how to make this sound more clear, and if I need to add anything to the I am noticing that the "screenshot everything" approach slows down tests considerably, so much so that the average user probably doesn't want screenshots to be on all the time. That's why I want to make As for We also want to avoid renaming flags for backwards-compatibility :) |
Ok yes I thought that the rename of the step-data would be a breaking change :0) I agree that #ss should be default So to summarize the solution would be:
|
Yes. And if |
ok i work on it, i create the solution for #ss-before #ss-after i going to create fail and #ss normal. |
(Reposting from other ticket) So there's this pattern that we recommend on the site, particularly in CI/CD environments. |
Hi, I'm wondering if the #ss feature was implemented and if the PR still exists and if this feature will be available soon? |
No this ticket has not been done. |
Hashtags:
#ss
takes screenshot on the step it's attached to, after the step is done executing#ss-both
takes screenshot before and after its stepFlags:
--screenshots=false
, no screenshots are taken--screenshots=true
, screenshots are taken before and after every step--screenshots=ss
, or if--screenshots
isn't passed in at all, only steps with#ss
/#ss-both
have screenshots takenStep data:
--step-data
, which describes what kind of data is safe to delete after a test (to prevent overuse of disk space)The text was updated successfully, but these errors were encountered: