{"action":"created","comment":{"url":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/comments/172565216","pull_request_review_id":101602896,"id":172565216,"diff_hunk":"@@ -22,3 +22,106 @@ add script \"dev\": \"next\" in the package.json\n yarn install\n yarn run dev\n ```\n+\n+## Integration tests\n+\n+This code uses [Watai](https://github.com/MattiSG/Watai/wiki) framework for integration tests.\n+\n+### Install integration tests environment\n+\n+To run the tests with Watai, we need Java JRE and a Selenium standalone server.\n+\n+#### Install Java JRE\n+\n+Check if a JRE is already installed on your environment with:\n+```\n+java -version\n+# Expected answer example: java version \"1.8.0_40\"\n+```\n+\n+If you get an error, download Java last `JRE` version on [Oracle website](http://www.oracle.com/technetwork/java/javase/downloads/index.html). ","path":"README.md","position":21,"original_position":21,"commit_id":"97f2b7c657d11ddd40b1cc0c5c81fcf05684e876","original_commit_id":"97f2b7c657d11ddd40b1cc0c5c81fcf05684e876","user":{"login":"Anna-Livia","id":13916213,"avatar_url":"https://avatars0.githubusercontent.com/u/13916213?v=4","gravatar_id":"","url":"https://api.github.com/users/Anna-Livia","html_url":"https://github.com/Anna-Livia","followers_url":"https://api.github.com/users/Anna-Livia/followers","following_url":"https://api.github.com/users/Anna-Livia/following{/other_user}","gists_url":"https://api.github.com/users/Anna-Livia/gists{/gist_id}","starred_url":"https://api.github.com/users/Anna-Livia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anna-Livia/subscriptions","organizations_url":"https://api.github.com/users/Anna-Livia/orgs","repos_url":"https://api.github.com/users/Anna-Livia/repos","events_url":"https://api.github.com/users/Anna-Livia/events{/privacy}","received_events_url":"https://api.github.com/users/Anna-Livia/received_events","type":"User","site_admin":false},"body":"On the website, the package to download is called JDK","created_at":"2018-03-06T15:59:26Z","updated_at":"2018-03-06T16:00:01Z","html_url":"https://github.com/openfisca/fr.openfisca.org/pull/4#discussion_r172565216","pull_request_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/4","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/comments/172565216"},"html":{"href":"https://github.com/openfisca/fr.openfisca.org/pull/4#discussion_r172565216"},"pull_request":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/4","id":172939709,"html_url":"https://github.com/openfisca/fr.openfisca.org/pull/4","diff_url":"https://github.com/openfisca/fr.openfisca.org/pull/4.diff","patch_url":"https://github.com/openfisca/fr.openfisca.org/pull/4.patch","issue_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues/4","number":4,"state":"open","locked":false,"title":"Initialiser les tests d'intégration","user":{"login":"sandcha","id":6567910,"avatar_url":"https://avatars1.githubusercontent.com/u/6567910?v=4","gravatar_id":"","url":"https://api.github.com/users/sandcha","html_url":"https://github.com/sandcha","followers_url":"https://api.github.com/users/sandcha/followers","following_url":"https://api.github.com/users/sandcha/following{/other_user}","gists_url":"https://api.github.com/users/sandcha/gists{/gist_id}","starred_url":"https://api.github.com/users/sandcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandcha/subscriptions","organizations_url":"https://api.github.com/users/sandcha/orgs","repos_url":"https://api.github.com/users/sandcha/repos","events_url":"https://api.github.com/users/sandcha/events{/privacy}","received_events_url":"https://api.github.com/users/sandcha/received_events","type":"User","site_admin":false},"body":"Fixes openfisca/openfisca-web-site#64\r\n\r\nAjoute la structure de tests d'intégration au dépôt.\r\nInitialise les tests watai.\r\nDécrit la procédure de tests dans le README.\r\nConfigure l'exécution des tests sur circle ci avec saucelabs.\r\n\r\n\r\n","created_at":"2018-03-05T17:50:30Z","updated_at":"2018-03-06T16:00:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97e442c81e2ae2761651998a3e81b9b561c18d20","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/4/commits","review_comments_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/4/comments","review_comment_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues/4/comments","statuses_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/statuses/97f2b7c657d11ddd40b1cc0c5c81fcf05684e876","head":{"label":"openfisca:init-tests","ref":"init-tests","sha":"97f2b7c657d11ddd40b1cc0c5c81fcf05684e876","user":{"login":"openfisca","id":1794404,"avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"repo":{"id":119073924,"name":"fr.openfisca.org","full_name":"openfisca/fr.openfisca.org","owner":{"login":"openfisca","id":1794404,"avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfisca/fr.openfisca.org","description":"Le site web d'OpenFisca-France. / OpenFisca-France web site.","fork":false,"url":"https://api.github.com/repos/openfisca/fr.openfisca.org","forks_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/forks","keys_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/teams","hooks_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/hooks","issue_events_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues/events{/number}","events_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/events","assignees_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/assignees{/user}","branches_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/branches{/branch}","tags_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/tags","blobs_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/statuses/{sha}","languages_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/languages","stargazers_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/stargazers","contributors_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/contributors","subscribers_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/subscribers","subscription_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/subscription","commits_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/contents/{+path}","compare_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/merges","archive_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/downloads","issues_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues{/number}","pulls_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls{/number}","milestones_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/milestones{/number}","notifications_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/labels{/name}","releases_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/releases{/id}","deployments_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/deployments","created_at":"2018-01-26T16:16:13Z","updated_at":"2018-02-21T08:26:41Z","pushed_at":"2018-03-06T15:12:56Z","git_url":"git://github.com/openfisca/fr.openfisca.org.git","ssh_url":"git@github.com:openfisca/fr.openfisca.org.git","clone_url":"https://github.com/openfisca/fr.openfisca.org.git","svn_url":"https://github.com/openfisca/fr.openfisca.org","homepage":"","size":1550,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"openfisca:master","ref":"master","sha":"67c1d7f6522d1ace4759eb730d4356ce30a9428f","user":{"login":"openfisca","id":1794404,"avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"repo":{"id":119073924,"name":"fr.openfisca.org","full_name":"openfisca/fr.openfisca.org","owner":{"login":"openfisca","id":1794404,"avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfisca/fr.openfisca.org","description":"Le site web d'OpenFisca-France. / OpenFisca-France web site.","fork":false,"url":"https://api.github.com/repos/openfisca/fr.openfisca.org","forks_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/forks","keys_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/teams","hooks_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/hooks","issue_events_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues/events{/number}","events_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/events","assignees_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/assignees{/user}","branches_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/branches{/branch}","tags_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/tags","blobs_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/statuses/{sha}","languages_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/languages","stargazers_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/stargazers","contributors_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/contributors","subscribers_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/subscribers","subscription_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/subscription","commits_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/contents/{+path}","compare_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/merges","archive_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/downloads","issues_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues{/number}","pulls_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls{/number}","milestones_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/milestones{/number}","notifications_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/labels{/name}","releases_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/releases{/id}","deployments_url":"https://api.github.com/repos/openfisca/fr.openfisca.org/deployments","created_at":"2018-01-26T16:16:13Z","updated_at":"2018-02-21T08:26:41Z","pushed_at":"2018-03-06T15:12:56Z","git_url":"git://github.com/openfisca/fr.openfisca.org.git","ssh_url":"git@github.com:openfisca/fr.openfisca.org.git","clone_url":"https://github.com/openfisca/fr.openfisca.org.git","svn_url":"https://github.com/openfisca/fr.openfisca.org","homepage":"","size":1550,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/4"},"html":{"href":"https://github.com/openfisca/fr.openfisca.org/pull/4"},"issue":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues/4"},"comments":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/openfisca/fr.openfisca.org/statuses/97f2b7c657d11ddd40b1cc0c5c81fcf05684e876"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Anna-Livia"}}