I'm getting encoding error while build a single report json file from a parallel execution with image/png embedded images.
/usr/local/bundle/gems/json-2.5.1/lib/json/common.rb:406:in `generate': "\\x89" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
from /usr/local/bundle/gems/json-2.5.1/lib/json/common.rb:406:in `pretty_generate'
from /usr/local/bundle/gems/report_builder-1.9/lib/report_builder/builder.rb:27:in `block in build_report'
from /usr/local/bundle/gems/report_builder-1.9/lib/report_builder/builder.rb:26:in `open'
from /usr/local/bundle/gems/report_builder-1.9/lib/report_builder/builder.rb:26:in `build_report'
from /usr/local/bundle/gems/report_builder-1.9/lib/report_builder.rb:76:in `build_report'
I'm getting encoding error while build a single report json file from a parallel execution with image/png embedded images.
My code:
Already tried to change to base64 images, but after that CucumberReports not supported the mime type of the file.