{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/168","repository_url":"https://api.github.com/repos/Codeception/CodeceptJS","labels_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/168/comments","events_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/168/events","html_url":"https://github.com/Codeception/CodeceptJS/issues/168","id":167295937,"number":168,"title":"Output dir not created when is a nested directory","user":{"login":"Nighthawk14","id":2417908,"avatar_url":"https://avatars.githubusercontent.com/u/2417908?v=3","gravatar_id":"","url":"https://api.github.com/users/Nighthawk14","html_url":"https://github.com/Nighthawk14","followers_url":"https://api.github.com/users/Nighthawk14/followers","following_url":"https://api.github.com/users/Nighthawk14/following{/other_user}","gists_url":"https://api.github.com/users/Nighthawk14/gists{/gist_id}","starred_url":"https://api.github.com/users/Nighthawk14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nighthawk14/subscriptions","organizations_url":"https://api.github.com/users/Nighthawk14/orgs","repos_url":"https://api.github.com/users/Nighthawk14/repos","events_url":"https://api.github.com/users/Nighthawk14/events{/privacy}","received_events_url":"https://api.github.com/users/Nighthawk14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-25T07:04:38Z","updated_at":"2016-08-04T00:08:01Z","closed_at":null,"body":"Hi,\r\n\r\nWhen setting up the output directory as subdirectory of a non-existing directory, the application is not creating the tree before trying to save the screenshots:\r\n\r\nExample: \r\n`\"output\": \"./reports/integration/screenshots\",`\r\n\r\nShould create `reports`, `reports/integration/`, `reports/integration/screenshots` if those doesn't exists.\r\n\r\nAt the moment the reporter is outputting this:\r\n`Uncaught ENOENT: no such file or directory, open [screenshotFile]` \r\nWhere [screenshotFile] is the path to the screenshot.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/comments/237413150","html_url":"https://github.com/Codeception/CodeceptJS/issues/168#issuecomment-237413150","issue_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/168","id":237413150,"user":{"login":"Nighthawk14","id":2417908,"avatar_url":"https://avatars.githubusercontent.com/u/2417908?v=3","gravatar_id":"","url":"https://api.github.com/users/Nighthawk14","html_url":"https://github.com/Nighthawk14","followers_url":"https://api.github.com/users/Nighthawk14/followers","following_url":"https://api.github.com/users/Nighthawk14/following{/other_user}","gists_url":"https://api.github.com/users/Nighthawk14/gists{/gist_id}","starred_url":"https://api.github.com/users/Nighthawk14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nighthawk14/subscriptions","organizations_url":"https://api.github.com/users/Nighthawk14/orgs","repos_url":"https://api.github.com/users/Nighthawk14/repos","events_url":"https://api.github.com/users/Nighthawk14/events{/privacy}","received_events_url":"https://api.github.com/users/Nighthawk14/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T00:08:01Z","updated_at":"2016-08-04T00:08:01Z","body":"Hey, Thing is basic reporters for Mocha / Karma or Protractor (screenshot / failures ) creates folders recursively if they don't exists then write the reports into, so that would be more consistent with the rest of the common tools present in the community :). I agree that at least checking if the folders exists is a must to have if you want to keep the current strategy :)."}}
{"actor":{"display_login":"Nighthawk14"}}