getgauge/html-report

Screenshots not being displayed at all in version 4.0.6

Christoffer-Green opened this issue · 4 comments

Expected behavior

  • When a step fails I get a screenshot of the time the fail happens.
  • When using GaugeScreenshots.Capture() in step execution this should be included in the report.

Actual behavior

I don't get screenshots imported to the report at all when using version html-report 4.0.6

Steps to reproduce

  1. Run test that fails / Use GaugeScreenshots.Capture() in test step
  2. Check said step in the html-report

Gauge version

Gauge version: 1.0.4
Commit Hash: 3a9a647

Plugins

csharp (0.10.5)
html-report (4.0.6)
screenshot (0.0.1)
xml-report (0.2.1)

Comments

I've tested this while using the exact same code but using html-report 4.0.5 and while using that version both the screenshot on error and the custom GaugeScreenshots.Capture() works fine. I've tested this both using the CustomScreenGrabber and the DefaultScreenGrabber

Screenshot while using 4.0.5:
html_report_4_0_5

Screenshot while using 4.0.6:
html_report_4_0_6

Thanks for reporting could replicate the issue. While we release the fix you can try using the nightly version.

Sorry. I looked for an open issue, but didn't check under the csharp plugin =p

Html-report 4.0.7 is released.
Update the plugin to get the latest changes and do let us know if the issue is fixed.

Feel free to reopen if the issue still exists.