Closed vojtad closed 2 years ago
This PR fixes embedding screenshots using #attach method into Cucumber HTML reports for Cucumber v4+.
#attach
#attach method automatically encodes data using base64 encoding. Without this PR data are encoded twice and embedded screenshots don't work.
This should also fix #279 because #attach handles setting the right type for attached data.
I confirm it fixes #279
Thanks, I appreciate the contribution. I will merge shortly and do a release.
This PR fixes embedding screenshots using
#attach
method into Cucumber HTML reports for Cucumber v4+.#attach
method automatically encodes data using base64 encoding. Without this PR data are encoded twice and embedded screenshots don't work.This should also fix #279 because
#attach
handles setting the right type for attached data.