{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1160","repository_url":"https://api.github.com/repos/cucumber/cucumber-js","labels_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1160/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1160/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1160/events","html_url":"https://github.com/cucumber/cucumber-js/issues/1160","id":388103889,"node_id":"MDU6SXNzdWUzODgxMDM4ODk=","number":1160,"title":"Finer-grained control over output of Attachments","user":{"login":"goofballLogic","id":910448,"node_id":"MDQ6VXNlcjkxMDQ0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/910448?v=4","gravatar_id":"","url":"https://api.github.com/users/goofballLogic","html_url":"https://github.com/goofballLogic","followers_url":"https://api.github.com/users/goofballLogic/followers","following_url":"https://api.github.com/users/goofballLogic/following{/other_user}","gists_url":"https://api.github.com/users/goofballLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/goofballLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goofballLogic/subscriptions","organizations_url":"https://api.github.com/users/goofballLogic/orgs","repos_url":"https://api.github.com/users/goofballLogic/repos","events_url":"https://api.github.com/users/goofballLogic/events{/privacy}","received_events_url":"https://api.github.com/users/goofballLogic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-06T08:24:16Z","updated_at":"2018-12-06T10:54:49Z","closed_at":null,"author_association":"NONE","body":"This seems to be the same as a recent closed/abandoned issue: #1148 \r\n\r\nPer discussion https://stackoverflow.com/questions/53613111/cucumber-js-prevent-attachments-swamping-output/53618285?noredirect=1#comment94135284_53618285 this is a feature request to control whether or not attachments get automatically output from the default reporters (like Progress).\r\n\r\nPer the documentation (https://github.com/cucumber/cucumber-js/blob/master/docs/support_files/attachments.md):\r\n\r\n> Attachments are also printed by the progress, progress-bar and summary formatters. They appear right after the step and only text/plain content is visible. It can be used to debug scenarios, especially in parallel mode.\r\n\r\nHowever, sometimes I attach text/plain content which I don't want cluttering up the output, especially on a minimalist fomatter like progress.\r\n\r\nA practical example from my current project is the HTML of a web page which I am testing via cucmberjs -> Selenium. This only gets attached in the event of a failing scenario, and is only used if a test run fails in the context of a continuous delivery pipeline. When running the tests locally, developers don't want that massive attachment swamping all other screen output. (text/plain content type is needed for compatibility with downstream reporters we use later in our processes).\r\n\r\nI note that the decision to _only_ emit text/plain attachments seems somewhat arbitrary (albeit a good compromise). It would be nice if I had some control over what attachments get output. I'm not sure if this is a feature request for cucumberjs or whether it's for one/more formatters."},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/comments/444832028","html_url":"https://github.com/cucumber/cucumber-js/issues/1160#issuecomment-444832028","issue_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1160","id":444832028,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDgzMjAyOA==","user":{"login":"Izhaki","id":880132,"node_id":"MDQ6VXNlcjg4MDEzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/880132?v=4","gravatar_id":"","url":"https://api.github.com/users/Izhaki","html_url":"https://github.com/Izhaki","followers_url":"https://api.github.com/users/Izhaki/followers","following_url":"https://api.github.com/users/Izhaki/following{/other_user}","gists_url":"https://api.github.com/users/Izhaki/gists{/gist_id}","starred_url":"https://api.github.com/users/Izhaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Izhaki/subscriptions","organizations_url":"https://api.github.com/users/Izhaki/orgs","repos_url":"https://api.github.com/users/Izhaki/repos","events_url":"https://api.github.com/users/Izhaki/events{/privacy}","received_events_url":"https://api.github.com/users/Izhaki/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T10:54:49Z","updated_at":"2018-12-06T10:54:49Z","author_association":"NONE","body":"Possible duplicate of #1136 ?"}}
{"actor":{"display_login":"Izhaki"}}