You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Cucumber-jvm 1.1.1, screenshots are not getting embedded into the HTML report. It appears that something is converting the embedding parameter string incorrectly.
publicvoidembedding(StringmimeType, byte[] data) {
// Creating a file instead of using data urls to not clutter the js fileStringextension = MIME_TYPES_EXTENSIONS.get(mimeType);
if (extension != null) {
StringBuilderfileName = newStringBuilder("embedded").append(embeddedIndex++).append(".").append(extension);
writeBytesAndClose(data, reportFileOutputStream(fileName.toString()));
writeToJsReport("embedding", newStringBuilder("'").append(mimeType).append("','").append(fileName).append("'").toString());
}
}
Using Cucumber-jvm 1.1.1, screenshots are not getting embedded into the HTML report. It appears that something is converting the embedding parameter string incorrectly.
Current Output in Report.js:
Expected Result:
The text was updated successfully, but these errors were encountered: