Contributions
supported mime types in Java class "Scenario"
Hi there, for one of my scenarios, I want to attach a simple csv file. I discovered that the Java class Scenario has a method attach with three parameters. The 2nd parameter is a String for the mime type. However, when I used "text/csv" for it, no report was attached to the HTML report at all. I tried to discover in the documentation which mime types are supported by this method. But in vain. Can anybody list these mime types, please? Many thanks in advance!2 years agoPlace Cucumber OpenCucumber Open613Views0likes0Commentscucumber 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?2 years agoPlace Cucumber OpenCucumber Open920Views0likes0CommentsSNAPSHOT jar referenced
Hi, I just upgraded from cucumber for java 7.5.0 to 7.10.1 . Unfortunately, my IntelliJ refuses to load that because of a reference to a SNAPSHOT version of a jar file. I then issued a command mvn dependency:tree, and that responded with this error message: Failed to collect dependencies at io.cucumber:cucumber-java:jar:7.10.1 -> io.cucumber:cucumber-core:jar:7.10.1 -> io.cucumber:html-formatter:jar:20.2.0 -> io.cucumber:messages:jar:19.1.4-SNAPSHOT anybody an idea why the html-formatter.jar was built with a SNAPSHOT dependency? And how I can get out of that?2 years agoPlace Cucumber OpenCucumber Open630Views0likes0Comments