-
Notifications
You must be signed in to change notification settings - Fork 7
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
Screenshots are missing in the donut report #19
Comments
Same issues persist for me too. JSON contains image embedded whereas in Donut the image is missing |
screenshots are embedded under after tag in JSON Object earlier it used to be under result, I think we need to code as if to read after and before tag in JSON Objects |
@chdask @davebassan can anyone work on this as we are not able to see screenshots on the reports, can you please see to parse the JSON with after and show on report |
can anyone pick this up...becoz screenshots are missing causes major issue. |
Thanks jnernest for the fix. We've found workaround is to lower the cucumber-junit version to info.cukes (from io.cucumber) , tends to attach the screenshots in the donut reports. |
@ravikalaa-krishnan Yes we were using info.cukes earlier and it was working fine now after upgrade to io.cucumber we had issues. I have made changes to code to show screenshot after upgrading to io.cucumber. i have the jar at https://github.com/jnernest/donut-screenshot-for-io.cucumber Try and let me know is there any issues. |
@jnernest Thanks for the jar. I ll give it a try. :-) |
@jnernest I am getting error in opening zip file error when i add it via dependency and tried |
After upgrading to the latest version (1.2.2), screenshots are missing in the report html. Prior to the update, screenshots were getting attached to the failed scenarios.
Donut Configuration
Cucumber Dependency
The failed screenshots are available in the cucumber report folder. However, donut is failing to attach it to the report.
Console Log
[INFO] --- donut-maven-plugin:1.2.2:generate (reporting) @ XXX_Automation ---
[INFO] Generating reports...
[WARNING] Could not lookup path List(projectMetadata, projectVersion) in List(Identifier(List(projectMetadata, projectVersion)))
[INFO] Donuts created at: C:\XXX_Automation\target\donut/donut-report.html
The text was updated successfully, but these errors were encountered: