{"action":"created","comment":{"url":"https://api.github.com/repos/gemini-testing/gemini/pulls/comments/92609877","pull_request_review_id":13128491,"id":92609877,"diff_hunk":"@@ -64,6 +64,13 @@ All methods are chainable:\n \n * `ignoreElements('selector1', 'selector2', ...)` - elements, matching\n   specified selectors will be ignored when comparing images.\n+  Ignore only the first matched element by every selector.\n+  Elements found by `document.querySelector`.\n+\n+* `ignoreElements({every: 'selector1'}, {every: 'selector1'}, ...)` - elements, matching\n+  specified selectors will be ignored when comparing images.\n+  Ignore all matched elements by every selector.\n+  Elements found by `document.querySelectorAll`.","path":"doc/tests.md","position":10,"original_position":10,"commit_id":"61b5651789cc67b08b9b65a31d115b90bbcf06eb","original_commit_id":"61b5651789cc67b08b9b65a31d115b90bbcf06eb","user":{"login":"baymer","id":5292544,"avatar_url":"https://avatars.githubusercontent.com/u/5292544?v=3","gravatar_id":"","url":"https://api.github.com/users/baymer","html_url":"https://github.com/baymer","followers_url":"https://api.github.com/users/baymer/followers","following_url":"https://api.github.com/users/baymer/following{/other_user}","gists_url":"https://api.github.com/users/baymer/gists{/gist_id}","starred_url":"https://api.github.com/users/baymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baymer/subscriptions","organizations_url":"https://api.github.com/users/baymer/orgs","repos_url":"https://api.github.com/users/baymer/repos","events_url":"https://api.github.com/users/baymer/events{/privacy}","received_events_url":"https://api.github.com/users/baymer/received_events","type":"User","site_admin":false},"body":"ок","created_at":"2016-12-15T13:39:09Z","updated_at":"2016-12-15T13:39:09Z","html_url":"https://github.com/gemini-testing/gemini/pull/692#discussion_r92609877","pull_request_url":"https://api.github.com/repos/gemini-testing/gemini/pulls/692","_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/comments/92609877"},"html":{"href":"https://github.com/gemini-testing/gemini/pull/692#discussion_r92609877"},"pull_request":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/692"}}},"pull_request":{"url":"https://api.github.com/repos/gemini-testing/gemini/pulls/692","id":97767237,"html_url":"https://github.com/gemini-testing/gemini/pull/692","diff_url":"https://github.com/gemini-testing/gemini/pull/692.diff","patch_url":"https://github.com/gemini-testing/gemini/pull/692.patch","issue_url":"https://api.github.com/repos/gemini-testing/gemini/issues/692","number":692,"state":"open","locked":false,"title":"feat: Ingnore all elements, if used `.every`","user":{"login":"baymer","id":5292544,"avatar_url":"https://avatars.githubusercontent.com/u/5292544?v=3","gravatar_id":"","url":"https://api.github.com/users/baymer","html_url":"https://github.com/baymer","followers_url":"https://api.github.com/users/baymer/followers","following_url":"https://api.github.com/users/baymer/following{/other_user}","gists_url":"https://api.github.com/users/baymer/gists{/gist_id}","starred_url":"https://api.github.com/users/baymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baymer/subscriptions","organizations_url":"https://api.github.com/users/baymer/orgs","repos_url":"https://api.github.com/users/baymer/repos","events_url":"https://api.github.com/users/baymer/events{/privacy}","received_events_url":"https://api.github.com/users/baymer/received_events","type":"User","site_admin":false},"body":"Сейчас чтобы игнорировать все картинки, нужно написать точный селектор до каждого экземпляра так как для их поиска используется `document.querySelector`, возвращающий первый найденный элемент.\r\nПосле влития PR можно будет скрывать все элементы найденные по селектору. Достаточно передать не строку, а объект `suite.ignoreElements({every: '.agency-icon'})`, как предложил @SevInf #191.\r\n","created_at":"2016-12-13T15:00:45Z","updated_at":"2016-12-15T13:39:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e654388de9d21d109ece509b9c161ec36e983bab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gemini-testing/gemini/pulls/692/commits","review_comments_url":"https://api.github.com/repos/gemini-testing/gemini/pulls/692/comments","review_comment_url":"https://api.github.com/repos/gemini-testing/gemini/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gemini-testing/gemini/issues/692/comments","statuses_url":"https://api.github.com/repos/gemini-testing/gemini/statuses/61b5651789cc67b08b9b65a31d115b90bbcf06eb","head":{"label":"baymer:FEI-4500","ref":"FEI-4500","sha":"61b5651789cc67b08b9b65a31d115b90bbcf06eb","user":{"login":"baymer","id":5292544,"avatar_url":"https://avatars.githubusercontent.com/u/5292544?v=3","gravatar_id":"","url":"https://api.github.com/users/baymer","html_url":"https://github.com/baymer","followers_url":"https://api.github.com/users/baymer/followers","following_url":"https://api.github.com/users/baymer/following{/other_user}","gists_url":"https://api.github.com/users/baymer/gists{/gist_id}","starred_url":"https://api.github.com/users/baymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baymer/subscriptions","organizations_url":"https://api.github.com/users/baymer/orgs","repos_url":"https://api.github.com/users/baymer/repos","events_url":"https://api.github.com/users/baymer/events{/privacy}","received_events_url":"https://api.github.com/users/baymer/received_events","type":"User","site_admin":false},"repo":{"id":54374177,"name":"gemini","full_name":"baymer/gemini","owner":{"login":"baymer","id":5292544,"avatar_url":"https://avatars.githubusercontent.com/u/5292544?v=3","gravatar_id":"","url":"https://api.github.com/users/baymer","html_url":"https://github.com/baymer","followers_url":"https://api.github.com/users/baymer/followers","following_url":"https://api.github.com/users/baymer/following{/other_user}","gists_url":"https://api.github.com/users/baymer/gists{/gist_id}","starred_url":"https://api.github.com/users/baymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baymer/subscriptions","organizations_url":"https://api.github.com/users/baymer/orgs","repos_url":"https://api.github.com/users/baymer/repos","events_url":"https://api.github.com/users/baymer/events{/privacy}","received_events_url":"https://api.github.com/users/baymer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/baymer/gemini","description":"Utility for regression testing of web pages using screenshots","fork":true,"url":"https://api.github.com/repos/baymer/gemini","forks_url":"https://api.github.com/repos/baymer/gemini/forks","keys_url":"https://api.github.com/repos/baymer/gemini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baymer/gemini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baymer/gemini/teams","hooks_url":"https://api.github.com/repos/baymer/gemini/hooks","issue_events_url":"https://api.github.com/repos/baymer/gemini/issues/events{/number}","events_url":"https://api.github.com/repos/baymer/gemini/events","assignees_url":"https://api.github.com/repos/baymer/gemini/assignees{/user}","branches_url":"https://api.github.com/repos/baymer/gemini/branches{/branch}","tags_url":"https://api.github.com/repos/baymer/gemini/tags","blobs_url":"https://api.github.com/repos/baymer/gemini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baymer/gemini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baymer/gemini/git/refs{/sha}","trees_url":"https://api.github.com/repos/baymer/gemini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baymer/gemini/statuses/{sha}","languages_url":"https://api.github.com/repos/baymer/gemini/languages","stargazers_url":"https://api.github.com/repos/baymer/gemini/stargazers","contributors_url":"https://api.github.com/repos/baymer/gemini/contributors","subscribers_url":"https://api.github.com/repos/baymer/gemini/subscribers","subscription_url":"https://api.github.com/repos/baymer/gemini/subscription","commits_url":"https://api.github.com/repos/baymer/gemini/commits{/sha}","git_commits_url":"https://api.github.com/repos/baymer/gemini/git/commits{/sha}","comments_url":"https://api.github.com/repos/baymer/gemini/comments{/number}","issue_comment_url":"https://api.github.com/repos/baymer/gemini/issues/comments{/number}","contents_url":"https://api.github.com/repos/baymer/gemini/contents/{+path}","compare_url":"https://api.github.com/repos/baymer/gemini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baymer/gemini/merges","archive_url":"https://api.github.com/repos/baymer/gemini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baymer/gemini/downloads","issues_url":"https://api.github.com/repos/baymer/gemini/issues{/number}","pulls_url":"https://api.github.com/repos/baymer/gemini/pulls{/number}","milestones_url":"https://api.github.com/repos/baymer/gemini/milestones{/number}","notifications_url":"https://api.github.com/repos/baymer/gemini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baymer/gemini/labels{/name}","releases_url":"https://api.github.com/repos/baymer/gemini/releases{/id}","deployments_url":"https://api.github.com/repos/baymer/gemini/deployments","created_at":"2016-03-21T09:05:21Z","updated_at":"2016-12-13T14:55:10Z","pushed_at":"2016-12-14T16:31:07Z","git_url":"git://github.com/baymer/gemini.git","ssh_url":"git@github.com:baymer/gemini.git","clone_url":"https://github.com/baymer/gemini.git","svn_url":"https://github.com/baymer/gemini","homepage":"http://gemini-testing.github.io/gemini/","size":2161,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"gemini-testing:master","ref":"master","sha":"a1b4f345f9b44c7fafdf149c6fdb74287fc26433","user":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","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":16734168,"name":"gemini","full_name":"gemini-testing/gemini","owner":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","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/gemini","description":"Utility for regression testing of web pages using screenshots","fork":false,"url":"https://api.github.com/repos/gemini-testing/gemini","forks_url":"https://api.github.com/repos/gemini-testing/gemini/forks","keys_url":"https://api.github.com/repos/gemini-testing/gemini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/gemini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/gemini/teams","hooks_url":"https://api.github.com/repos/gemini-testing/gemini/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/gemini/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/gemini/events","assignees_url":"https://api.github.com/repos/gemini-testing/gemini/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/gemini/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/gemini/tags","blobs_url":"https://api.github.com/repos/gemini-testing/gemini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/gemini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/gemini/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/gemini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/gemini/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/gemini/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/gemini/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/gemini/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/gemini/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/gemini/subscription","commits_url":"https://api.github.com/repos/gemini-testing/gemini/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/gemini/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/gemini/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/gemini/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/gemini/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/gemini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/gemini/merges","archive_url":"https://api.github.com/repos/gemini-testing/gemini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/gemini/downloads","issues_url":"https://api.github.com/repos/gemini-testing/gemini/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/gemini/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/gemini/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/gemini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/gemini/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/gemini/releases{/id}","deployments_url":"https://api.github.com/repos/gemini-testing/gemini/deployments","created_at":"2014-02-11T14:58:41Z","updated_at":"2016-12-15T02:30:37Z","pushed_at":"2016-12-14T16:31:07Z","git_url":"git://github.com/gemini-testing/gemini.git","ssh_url":"git@github.com:gemini-testing/gemini.git","clone_url":"https://github.com/gemini-testing/gemini.git","svn_url":"https://github.com/gemini-testing/gemini","homepage":"https://gemini-testing.github.io/","size":2179,"stargazers_count":749,"watchers_count":749,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":80,"forks":85,"open_issues":80,"watchers":749,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/692"},"html":{"href":"https://github.com/gemini-testing/gemini/pull/692"},"issue":{"href":"https://api.github.com/repos/gemini-testing/gemini/issues/692"},"comments":{"href":"https://api.github.com/repos/gemini-testing/gemini/issues/692/comments"},"review_comments":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/692/comments"},"review_comment":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/692/commits"},"statuses":{"href":"https://api.github.com/repos/gemini-testing/gemini/statuses/61b5651789cc67b08b9b65a31d115b90bbcf06eb"}}}}
{"actor":{"display_login":"baymer"}}