{"action":"created","comment":{"url":"https://api.github.com/repos/gemini-testing/hermione/pulls/comments/167195960","pull_request_review_id":95379715,"id":167195960,"diff_hunk":"@@ -496,6 +498,14 @@ By default is `Infinity` (no limit, all tests will be run in the same session).\n ### retry\n How many times a test should be retried if it fails. Global value for all browsers. Default value is `0`.\n \n+## shouldRetry\n+Function that determines whether needed rerun test or not. Must return boolean value. By default returns `true` if retry attempts is available otherwise returns `false`. \n+Argument of this function would be object with fields:\n+  * `retriesLeft {Number}` — number of available retries\n+  * `ctx` — in case of test `TEST_FAIL` it would be binded data, in case of `ERROR` it would be link to `Runnable`\n+  * `[error]` — error type (available only in case of ERROR)","path":"README.md","position":25,"original_position":25,"commit_id":"541a14c654d0a69dbedeabc8deac3cf0ee5b4bf0","original_commit_id":"541a14c654d0a69dbedeabc8deac3cf0ee5b4bf0","user":{"login":"Flackus","id":644960,"avatar_url":"https://avatars0.githubusercontent.com/u/644960?v=4","gravatar_id":"","url":"https://api.github.com/users/Flackus","html_url":"https://github.com/Flackus","followers_url":"https://api.github.com/users/Flackus/followers","following_url":"https://api.github.com/users/Flackus/following{/other_user}","gists_url":"https://api.github.com/users/Flackus/gists{/gist_id}","starred_url":"https://api.github.com/users/Flackus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flackus/subscriptions","organizations_url":"https://api.github.com/users/Flackus/orgs","repos_url":"https://api.github.com/users/Flackus/repos","events_url":"https://api.github.com/users/Flackus/events{/privacy}","received_events_url":"https://api.github.com/users/Flackus/received_events","type":"User","site_admin":false},"body":"Не хватает информации.","created_at":"2018-02-09T10:48:47Z","updated_at":"2018-02-09T10:50:24Z","html_url":"https://github.com/gemini-testing/hermione/pull/224#discussion_r167195960","pull_request_url":"https://api.github.com/repos/gemini-testing/hermione/pulls/224","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/hermione/pulls/comments/167195960"},"html":{"href":"https://github.com/gemini-testing/hermione/pull/224#discussion_r167195960"},"pull_request":{"href":"https://api.github.com/repos/gemini-testing/hermione/pulls/224"}}},"pull_request":{"url":"https://api.github.com/repos/gemini-testing/hermione/pulls/224","id":168025331,"html_url":"https://github.com/gemini-testing/hermione/pull/224","diff_url":"https://github.com/gemini-testing/hermione/pull/224.diff","patch_url":"https://github.com/gemini-testing/hermione/pull/224.patch","issue_url":"https://api.github.com/repos/gemini-testing/hermione/issues/224","number":224,"state":"open","locked":false,"title":"feat(config): introduce shouldRerty config option","user":{"login":"miripiruni","id":144537,"avatar_url":"https://avatars2.githubusercontent.com/u/144537?v=4","gravatar_id":"","url":"https://api.github.com/users/miripiruni","html_url":"https://github.com/miripiruni","followers_url":"https://api.github.com/users/miripiruni/followers","following_url":"https://api.github.com/users/miripiruni/following{/other_user}","gists_url":"https://api.github.com/users/miripiruni/gists{/gist_id}","starred_url":"https://api.github.com/users/miripiruni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miripiruni/subscriptions","organizations_url":"https://api.github.com/users/miripiruni/orgs","repos_url":"https://api.github.com/users/miripiruni/repos","events_url":"https://api.github.com/users/miripiruni/events{/privacy}","received_events_url":"https://api.github.com/users/miripiruni/received_events","type":"User","site_admin":false},"body":"Config should provide to users option to set custom rule whether test retry\r\nneeded or not. \r\n\r\nRelates to: \r\n* FEI-8660\r\n* https://github.com/gemini-testing/retry-limiter/pull/6","created_at":"2018-02-08T16:43:06Z","updated_at":"2018-02-09T10:50:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5172f6dcb3c3bd086457b61e8627d43f45746f39","assignee":null,"assignees":[],"requested_reviewers":[{"login":"j0tunn","id":7701229,"avatar_url":"https://avatars0.githubusercontent.com/u/7701229?v=4","gravatar_id":"","url":"https://api.github.com/users/j0tunn","html_url":"https://github.com/j0tunn","followers_url":"https://api.github.com/users/j0tunn/followers","following_url":"https://api.github.com/users/j0tunn/following{/other_user}","gists_url":"https://api.github.com/users/j0tunn/gists{/gist_id}","starred_url":"https://api.github.com/users/j0tunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0tunn/subscriptions","organizations_url":"https://api.github.com/users/j0tunn/orgs","repos_url":"https://api.github.com/users/j0tunn/repos","events_url":"https://api.github.com/users/j0tunn/events{/privacy}","received_events_url":"https://api.github.com/users/j0tunn/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/gemini-testing/hermione/pulls/224/commits","review_comments_url":"https://api.github.com/repos/gemini-testing/hermione/pulls/224/comments","review_comment_url":"https://api.github.com/repos/gemini-testing/hermione/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gemini-testing/hermione/issues/224/comments","statuses_url":"https://api.github.com/repos/gemini-testing/hermione/statuses/541a14c654d0a69dbedeabc8deac3cf0ee5b4bf0","head":{"label":"gemini-testing:FEI-8660__retries","ref":"FEI-8660__retries","sha":"541a14c654d0a69dbedeabc8deac3cf0ee5b4bf0","user":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars3.githubusercontent.com/u/11424134?v=4","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"repo":{"id":51917537,"name":"hermione","full_name":"gemini-testing/hermione","owner":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars3.githubusercontent.com/u/11424134?v=4","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gemini-testing/hermione","description":"Browser test runner based on mocha and wdio","fork":false,"url":"https://api.github.com/repos/gemini-testing/hermione","forks_url":"https://api.github.com/repos/gemini-testing/hermione/forks","keys_url":"https://api.github.com/repos/gemini-testing/hermione/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/hermione/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/hermione/teams","hooks_url":"https://api.github.com/repos/gemini-testing/hermione/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/hermione/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/hermione/events","assignees_url":"https://api.github.com/repos/gemini-testing/hermione/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/hermione/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/hermione/tags","blobs_url":"https://api.github.com/repos/gemini-testing/hermione/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/hermione/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/hermione/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/hermione/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/hermione/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/hermione/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/hermione/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/hermione/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/hermione/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/hermione/subscription","commits_url":"https://api.github.com/repos/gemini-testing/hermione/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/hermione/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/hermione/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/hermione/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/hermione/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/hermione/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/hermione/merges","archive_url":"https://api.github.com/repos/gemini-testing/hermione/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/hermione/downloads","issues_url":"https://api.github.com/repos/gemini-testing/hermione/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/hermione/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/hermione/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/hermione/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/hermione/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/hermione/releases{/id}","deployments_url":"https://api.github.com/repos/gemini-testing/hermione/deployments","created_at":"2016-02-17T11:26:05Z","updated_at":"2018-02-06T14:38:36Z","pushed_at":"2018-02-09T07:22:13Z","git_url":"git://github.com/gemini-testing/hermione.git","ssh_url":"git@github.com:gemini-testing/hermione.git","clone_url":"https://github.com/gemini-testing/hermione.git","svn_url":"https://github.com/gemini-testing/hermione","homepage":null,"size":1392,"stargazers_count":144,"watchers_count":144,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":21,"open_issues":10,"watchers":144,"default_branch":"master"}},"base":{"label":"gemini-testing:master","ref":"master","sha":"b243f5f11b54a74551e60375f6c0a1b99a38de84","user":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars3.githubusercontent.com/u/11424134?v=4","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"repo":{"id":51917537,"name":"hermione","full_name":"gemini-testing/hermione","owner":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars3.githubusercontent.com/u/11424134?v=4","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gemini-testing/hermione","description":"Browser test runner based on mocha and wdio","fork":false,"url":"https://api.github.com/repos/gemini-testing/hermione","forks_url":"https://api.github.com/repos/gemini-testing/hermione/forks","keys_url":"https://api.github.com/repos/gemini-testing/hermione/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/hermione/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/hermione/teams","hooks_url":"https://api.github.com/repos/gemini-testing/hermione/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/hermione/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/hermione/events","assignees_url":"https://api.github.com/repos/gemini-testing/hermione/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/hermione/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/hermione/tags","blobs_url":"https://api.github.com/repos/gemini-testing/hermione/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/hermione/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/hermione/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/hermione/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/hermione/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/hermione/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/hermione/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/hermione/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/hermione/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/hermione/subscription","commits_url":"https://api.github.com/repos/gemini-testing/hermione/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/hermione/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/hermione/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/hermione/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/hermione/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/hermione/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/hermione/merges","archive_url":"https://api.github.com/repos/gemini-testing/hermione/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/hermione/downloads","issues_url":"https://api.github.com/repos/gemini-testing/hermione/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/hermione/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/hermione/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/hermione/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/hermione/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/hermione/releases{/id}","deployments_url":"https://api.github.com/repos/gemini-testing/hermione/deployments","created_at":"2016-02-17T11:26:05Z","updated_at":"2018-02-06T14:38:36Z","pushed_at":"2018-02-09T07:22:13Z","git_url":"git://github.com/gemini-testing/hermione.git","ssh_url":"git@github.com:gemini-testing/hermione.git","clone_url":"https://github.com/gemini-testing/hermione.git","svn_url":"https://github.com/gemini-testing/hermione","homepage":null,"size":1392,"stargazers_count":144,"watchers_count":144,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":21,"open_issues":10,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/hermione/pulls/224"},"html":{"href":"https://github.com/gemini-testing/hermione/pull/224"},"issue":{"href":"https://api.github.com/repos/gemini-testing/hermione/issues/224"},"comments":{"href":"https://api.github.com/repos/gemini-testing/hermione/issues/224/comments"},"review_comments":{"href":"https://api.github.com/repos/gemini-testing/hermione/pulls/224/comments"},"review_comment":{"href":"https://api.github.com/repos/gemini-testing/hermione/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gemini-testing/hermione/pulls/224/commits"},"statuses":{"href":"https://api.github.com/repos/gemini-testing/hermione/statuses/541a14c654d0a69dbedeabc8deac3cf0ee5b4bf0"}},"author_association":"NONE"}}
{"actor":{"display_login":"Flackus"}}