{"action":"closed","number":2184,"pull_request":{"url":"https://api.github.com/repos/betagouv/tps/pulls/2184","id":198638900,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NjM4OTAw","html_url":"https://github.com/betagouv/tps/pull/2184","diff_url":"https://github.com/betagouv/tps/pull/2184.diff","patch_url":"https://github.com/betagouv/tps/pull/2184.patch","issue_url":"https://api.github.com/repos/betagouv/tps/issues/2184","number":2184,"state":"closed","locked":false,"title":"specs: automatically save a screenshot of failing integration tests","user":{"login":"kemenaran","id":179923,"node_id":"MDQ6VXNlcjE3OTkyMw==","avatar_url":"https://avatars3.githubusercontent.com/u/179923?v=4","gravatar_id":"","url":"https://api.github.com/users/kemenaran","html_url":"https://github.com/kemenaran","followers_url":"https://api.github.com/users/kemenaran/followers","following_url":"https://api.github.com/users/kemenaran/following{/other_user}","gists_url":"https://api.github.com/users/kemenaran/gists{/gist_id}","starred_url":"https://api.github.com/users/kemenaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemenaran/subscriptions","organizations_url":"https://api.github.com/users/kemenaran/orgs","repos_url":"https://api.github.com/users/kemenaran/repos","events_url":"https://api.github.com/users/kemenaran/events{/privacy}","received_events_url":"https://api.github.com/users/kemenaran/received_events","type":"User","site_admin":false},"body":"Le chemin vers le screenshot est affiché avec le test qui échoue.\r\n\r\n```shell\r\n$ bin/rspec spec/features --example \"save an incomplete dossier as draft\"\r\nRunning via Spring preloader in process 22648\r\nRun options: include {:full_description=>/save\\ an\\ incomplete\\ dossier\\ as\\ draft/}\r\n\r\nRandomized with seed 60745\r\nF  HTML screenshot: file:///Users/beta.gouv.fr/Programmes/tps/tmp/capybara/screenshot_2018-07-02-12-29-31.229.html\r\n  Image screenshot: file:///Users/beta.gouv.fr/Programmes/tps/tmp/capybara/screenshot_2018-07-02-12-29-31.229.png\r\n\r\n\r\nFailures:\r\n\r\n  1) The user save an incomplete dossier as draft but cannot not submit it\r\n     Failure/Error: expect(user_dossier.reload.en_construction?).to be(true)\r\n\r\n       expected true\r\n            got false\r\n     # ./spec/features/new_user/dossier_spec.rb:110:in `block (2 levels) in <top (required)>'\r\n     # -e:1:in `<main>'\r\n\r\nFinished in 8.66 seconds (files took 1.58 seconds to load)\r\n1 example, 1 failure\r\n\r\nFailed examples:\r\n\r\nrspec ./spec/features/new_user/dossier_spec.rb:91 # The user save an incomplete dossier as draft but cannot not submit it\r\n```","created_at":"2018-07-02T10:38:31Z","updated_at":"2018-07-04T07:48:53Z","closed_at":"2018-07-04T07:48:53Z","merged_at":"2018-07-04T07:48:53Z","merge_commit_sha":"b6ea2f1b36e541fe2b08c8122e1fafbb2b01e490","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/betagouv/tps/pulls/2184/commits","review_comments_url":"https://api.github.com/repos/betagouv/tps/pulls/2184/comments","review_comment_url":"https://api.github.com/repos/betagouv/tps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/betagouv/tps/issues/2184/comments","statuses_url":"https://api.github.com/repos/betagouv/tps/statuses/394019b70c5a08f52a626f5185251f2a27f50a76","head":{"label":"betagouv:capybara-screenshots","ref":"capybara-screenshots","sha":"394019b70c5a08f52a626f5185251f2a27f50a76","user":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"repo":{"id":44167674,"node_id":"MDEwOlJlcG9zaXRvcnk0NDE2NzY3NA==","name":"tps","full_name":"betagouv/tps","owner":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/betagouv/tps","description":"Dématérialiser et simplifier les démarches administratives ","fork":false,"url":"https://api.github.com/repos/betagouv/tps","forks_url":"https://api.github.com/repos/betagouv/tps/forks","keys_url":"https://api.github.com/repos/betagouv/tps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betagouv/tps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betagouv/tps/teams","hooks_url":"https://api.github.com/repos/betagouv/tps/hooks","issue_events_url":"https://api.github.com/repos/betagouv/tps/issues/events{/number}","events_url":"https://api.github.com/repos/betagouv/tps/events","assignees_url":"https://api.github.com/repos/betagouv/tps/assignees{/user}","branches_url":"https://api.github.com/repos/betagouv/tps/branches{/branch}","tags_url":"https://api.github.com/repos/betagouv/tps/tags","blobs_url":"https://api.github.com/repos/betagouv/tps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betagouv/tps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betagouv/tps/git/refs{/sha}","trees_url":"https://api.github.com/repos/betagouv/tps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betagouv/tps/statuses/{sha}","languages_url":"https://api.github.com/repos/betagouv/tps/languages","stargazers_url":"https://api.github.com/repos/betagouv/tps/stargazers","contributors_url":"https://api.github.com/repos/betagouv/tps/contributors","subscribers_url":"https://api.github.com/repos/betagouv/tps/subscribers","subscription_url":"https://api.github.com/repos/betagouv/tps/subscription","commits_url":"https://api.github.com/repos/betagouv/tps/commits{/sha}","git_commits_url":"https://api.github.com/repos/betagouv/tps/git/commits{/sha}","comments_url":"https://api.github.com/repos/betagouv/tps/comments{/number}","issue_comment_url":"https://api.github.com/repos/betagouv/tps/issues/comments{/number}","contents_url":"https://api.github.com/repos/betagouv/tps/contents/{+path}","compare_url":"https://api.github.com/repos/betagouv/tps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betagouv/tps/merges","archive_url":"https://api.github.com/repos/betagouv/tps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betagouv/tps/downloads","issues_url":"https://api.github.com/repos/betagouv/tps/issues{/number}","pulls_url":"https://api.github.com/repos/betagouv/tps/pulls{/number}","milestones_url":"https://api.github.com/repos/betagouv/tps/milestones{/number}","notifications_url":"https://api.github.com/repos/betagouv/tps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betagouv/tps/labels{/name}","releases_url":"https://api.github.com/repos/betagouv/tps/releases{/id}","deployments_url":"https://api.github.com/repos/betagouv/tps/deployments","created_at":"2015-10-13T10:01:34Z","updated_at":"2018-07-04T07:42:37Z","pushed_at":"2018-07-04T07:48:53Z","git_url":"git://github.com/betagouv/tps.git","ssh_url":"git@github.com:betagouv/tps.git","clone_url":"https://github.com/betagouv/tps.git","svn_url":"https://github.com/betagouv/tps","homepage":"https://www.demarches-simplifiees.fr","size":21156,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":593,"license":null,"forks":13,"open_issues":593,"watchers":26,"default_branch":"dev"}},"base":{"label":"betagouv:dev","ref":"dev","sha":"197f69126021e6c5a709be916ec8b1aee35aead5","user":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"repo":{"id":44167674,"node_id":"MDEwOlJlcG9zaXRvcnk0NDE2NzY3NA==","name":"tps","full_name":"betagouv/tps","owner":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/betagouv/tps","description":"Dématérialiser et simplifier les démarches administratives ","fork":false,"url":"https://api.github.com/repos/betagouv/tps","forks_url":"https://api.github.com/repos/betagouv/tps/forks","keys_url":"https://api.github.com/repos/betagouv/tps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betagouv/tps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betagouv/tps/teams","hooks_url":"https://api.github.com/repos/betagouv/tps/hooks","issue_events_url":"https://api.github.com/repos/betagouv/tps/issues/events{/number}","events_url":"https://api.github.com/repos/betagouv/tps/events","assignees_url":"https://api.github.com/repos/betagouv/tps/assignees{/user}","branches_url":"https://api.github.com/repos/betagouv/tps/branches{/branch}","tags_url":"https://api.github.com/repos/betagouv/tps/tags","blobs_url":"https://api.github.com/repos/betagouv/tps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betagouv/tps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betagouv/tps/git/refs{/sha}","trees_url":"https://api.github.com/repos/betagouv/tps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betagouv/tps/statuses/{sha}","languages_url":"https://api.github.com/repos/betagouv/tps/languages","stargazers_url":"https://api.github.com/repos/betagouv/tps/stargazers","contributors_url":"https://api.github.com/repos/betagouv/tps/contributors","subscribers_url":"https://api.github.com/repos/betagouv/tps/subscribers","subscription_url":"https://api.github.com/repos/betagouv/tps/subscription","commits_url":"https://api.github.com/repos/betagouv/tps/commits{/sha}","git_commits_url":"https://api.github.com/repos/betagouv/tps/git/commits{/sha}","comments_url":"https://api.github.com/repos/betagouv/tps/comments{/number}","issue_comment_url":"https://api.github.com/repos/betagouv/tps/issues/comments{/number}","contents_url":"https://api.github.com/repos/betagouv/tps/contents/{+path}","compare_url":"https://api.github.com/repos/betagouv/tps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betagouv/tps/merges","archive_url":"https://api.github.com/repos/betagouv/tps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betagouv/tps/downloads","issues_url":"https://api.github.com/repos/betagouv/tps/issues{/number}","pulls_url":"https://api.github.com/repos/betagouv/tps/pulls{/number}","milestones_url":"https://api.github.com/repos/betagouv/tps/milestones{/number}","notifications_url":"https://api.github.com/repos/betagouv/tps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betagouv/tps/labels{/name}","releases_url":"https://api.github.com/repos/betagouv/tps/releases{/id}","deployments_url":"https://api.github.com/repos/betagouv/tps/deployments","created_at":"2015-10-13T10:01:34Z","updated_at":"2018-07-04T07:42:37Z","pushed_at":"2018-07-04T07:48:53Z","git_url":"git://github.com/betagouv/tps.git","ssh_url":"git@github.com:betagouv/tps.git","clone_url":"https://github.com/betagouv/tps.git","svn_url":"https://github.com/betagouv/tps","homepage":"https://www.demarches-simplifiees.fr","size":21156,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":593,"license":null,"forks":13,"open_issues":593,"watchers":26,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/betagouv/tps/pulls/2184"},"html":{"href":"https://github.com/betagouv/tps/pull/2184"},"issue":{"href":"https://api.github.com/repos/betagouv/tps/issues/2184"},"comments":{"href":"https://api.github.com/repos/betagouv/tps/issues/2184/comments"},"review_comments":{"href":"https://api.github.com/repos/betagouv/tps/pulls/2184/comments"},"review_comment":{"href":"https://api.github.com/repos/betagouv/tps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/betagouv/tps/pulls/2184/commits"},"statuses":{"href":"https://api.github.com/repos/betagouv/tps/statuses/394019b70c5a08f52a626f5185251f2a27f50a76"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kemenaran","id":179923,"node_id":"MDQ6VXNlcjE3OTkyMw==","avatar_url":"https://avatars3.githubusercontent.com/u/179923?v=4","gravatar_id":"","url":"https://api.github.com/users/kemenaran","html_url":"https://github.com/kemenaran","followers_url":"https://api.github.com/users/kemenaran/followers","following_url":"https://api.github.com/users/kemenaran/following{/other_user}","gists_url":"https://api.github.com/users/kemenaran/gists{/gist_id}","starred_url":"https://api.github.com/users/kemenaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemenaran/subscriptions","organizations_url":"https://api.github.com/users/kemenaran/orgs","repos_url":"https://api.github.com/users/kemenaran/repos","events_url":"https://api.github.com/users/kemenaran/events{/privacy}","received_events_url":"https://api.github.com/users/kemenaran/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":20,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"kemenaran"}}