{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1790","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1790/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1790/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1790/events","html_url":"https://github.com/webdriverio/webdriverio/issues/1790","id":197739003,"number":1790,"title":"take screenshots when test fails (not just when a webdriver command fails)","user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-27T18:13:48Z","updated_at":"2016-12-27T21:13:13Z","closed_at":"2016-12-27T18:47:26Z","body":"I don't understand why it isn't the default behavior for wdio to take a screenshot when a test fails.  Currently it only takes a screenshot when a webdriver command fails; but in some cases an assertion will fail the test after a bunch of webdriver commands went through successfully.  Is there something I misunderstand here?"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/269383449","html_url":"https://github.com/webdriverio/webdriverio/issues/1790#issuecomment-269383449","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1790","id":269383449,"user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T21:13:13Z","updated_at":"2016-12-27T21:13:13Z","body":"@christian-bromann Yes, I understand, I just thought it was weird...are you saying it's because some people would not want to take a screenshot in the event of certain errors thrown from a test?"}}
{"actor":{"display_login":"jedwards1211"}}