-
Notifications
You must be signed in to change notification settings - Fork 256
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
Godog needs Embed Screenshot #124
Comments
Hi, currently godog does not have errors with attachments. Probably will be added with #88 but cannot say when it will be available, I have much interest in other things at the moment. If you do need it badly, you may fork and add a small extension to it or:
Where I would still need to investigate how cucumber ruby, js manages attachments and decide how to integrate them. maybe it will be enough just for custom AttachmentErr type. |
@papitoio have a look at https://github.com/llonchj/browsersteps |
I am intrested to know on what to FORK? Link please |
@linuxramu you can create a custom error and return it in your step on failure with a screenshot attached, then the change in godog would require to edit this function and attach it correctly to the report if error instance is the one with attachment. this is not yet implemented internally, since I do not yet know what could be an appropriate way to manage it. |
With the recent update, we can start thinking about implementing this issue. |
What’s the current thinking on how we’d like to expose this? Is there a suggested API, for example? |
Still doesn't seem to be a way to get this working in godog - or more generally no way to add "attachments" or "embeddings" at all. Any ideas? |
I've been working with Cucumber Ruby for years.
I am testing the Godog integrated with Selenium and it was wonderful.
But I would like to be able to include Screenshots in the JSON report
Examples:
embed "screenshot.png", "image / png"
Does Godog support this?
When will Godog support this feature?
The text was updated successfully, but these errors were encountered: