{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/11709","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/11709/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/11709/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/11709/events","html_url":"https://github.com/elastic/kibana/pull/11709","id":227780379,"number":11709,"title":"[ftr] take screenshots on failure","user":{"login":"spalger","id":1329312,"avatar_url":"https://avatars2.githubusercontent.com/u/1329312?v=3","gravatar_id":"","url":"https://api.github.com/users/spalger","html_url":"https://github.com/spalger","followers_url":"https://api.github.com/users/spalger/followers","following_url":"https://api.github.com/users/spalger/following{/other_user}","gists_url":"https://api.github.com/users/spalger/gists{/gist_id}","starred_url":"https://api.github.com/users/spalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalger/subscriptions","organizations_url":"https://api.github.com/users/spalger/orgs","repos_url":"https://api.github.com/users/spalger/repos","events_url":"https://api.github.com/users/spalger/events{/privacy}","received_events_url":"https://api.github.com/users/spalger/received_events","type":"User","site_admin":false},"labels":[{"id":470241278,"url":"https://api.github.com/repos/elastic/kibana/labels/:Platform","name":":Platform","color":"fef2c0","default":false},{"id":140008186,"url":"https://api.github.com/repos/elastic/kibana/labels/test","name":"test","color":"5319e7","default":false},{"id":525828970,"url":"https://api.github.com/repos/elastic/kibana/labels/v5.5.0","name":"v5.5.0","color":"ffffff","default":false},{"id":351295427,"url":"https://api.github.com/repos/elastic/kibana/labels/v6.0.0","name":"v6.0.0","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-10T19:08:08Z","updated_at":"2017-05-10T20:00:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/11709","html_url":"https://github.com/elastic/kibana/pull/11709","diff_url":"https://github.com/elastic/kibana/pull/11709.diff","patch_url":"https://github.com/elastic/kibana/pull/11709.patch"},"body":"Just like the functional tests used to, these changes update them to take screenshots automatically on any test failure. To accomplish this the lifecycle service now has `testFailure` and `testHookFailure` events that can asynchronously do some action at those points. The screenshot service was then updated to use those lifecycle events to take the screenshots."},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/300595889","html_url":"https://github.com/elastic/kibana/pull/11709#issuecomment-300595889","issue_url":"https://api.github.com/repos/elastic/kibana/issues/11709","id":300595889,"user":{"login":"spalger","id":1329312,"avatar_url":"https://avatars2.githubusercontent.com/u/1329312?v=3","gravatar_id":"","url":"https://api.github.com/users/spalger","html_url":"https://github.com/spalger","followers_url":"https://api.github.com/users/spalger/followers","following_url":"https://api.github.com/users/spalger/following{/other_user}","gists_url":"https://api.github.com/users/spalger/gists{/gist_id}","starred_url":"https://api.github.com/users/spalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalger/subscriptions","organizations_url":"https://api.github.com/users/spalger/orgs","repos_url":"https://api.github.com/users/spalger/repos","events_url":"https://api.github.com/users/spalger/events{/privacy}","received_events_url":"https://api.github.com/users/spalger/received_events","type":"User","site_admin":false},"created_at":"2017-05-10T20:00:39Z","updated_at":"2017-05-10T20:00:39Z","body":"Haha :) yeah, https://github.com/elastic/kibana/blob/5.3/test/support/utils/bdd_wrapper.js was a lot harder to implement for mocha"}}
{"actor":{"display_login":"spalger"}}