Forum Discussion

christianjacob's avatar
New Contributor
2 years ago

cucumber report with media type text/plain

Hi there,

I wanted to add a text document as an attachment to the Cucumber report. So I invoked the method

attach(String data, String mediaType, String name)

of the Scenario class with the media type "text/plain". But nothing was added to the Cucumber report. Does the cucumber report only support images? If so: why?

No RepliesBe the first to reply