{"action":"created","comment":{"url":"https://api.github.com/repos/google/EarlGrey/pulls/comments/75831511","id":75831511,"diff_hunk":"@@ -136,12 +136,10 @@ @implementation GREYActions\n }\n \n + (id<GREYAction>)actionForTurnSwitchOn:(BOOL)on {\n-  id<GREYMatcher> constraints = grey_allOf(grey_not(grey_systemAlertViewShown()),","path":"EarlGrey/Action/GREYActions.m","position":4,"original_position":4,"commit_id":"c5e8ff846a0facbf05afadf90e9e60733111c2c5","original_commit_id":"257961b90c0304868d2340cc578f790c8b469105","user":{"login":"axi0mX","id":15119213,"avatar_url":"https://avatars.githubusercontent.com/u/15119213?v=3","gravatar_id":"","url":"https://api.github.com/users/axi0mX","html_url":"https://github.com/axi0mX","followers_url":"https://api.github.com/users/axi0mX/followers","following_url":"https://api.github.com/users/axi0mX/following{/other_user}","gists_url":"https://api.github.com/users/axi0mX/gists{/gist_id}","starred_url":"https://api.github.com/users/axi0mX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axi0mX/subscriptions","organizations_url":"https://api.github.com/users/axi0mX/orgs","repos_url":"https://api.github.com/users/axi0mX/repos","events_url":"https://api.github.com/users/axi0mX/events{/privacy}","received_events_url":"https://api.github.com/users/axi0mX/received_events","type":"User","site_admin":false},"body":"Let's remove the matcher from action constraints and have a universal check in GREYElementInteraction, just like we have a universal check for element not being nil before calling GREYAction perform:error:. We can keep the matcher in GREYMatchers, but consider it deprecated, in order to not break backwards compatibility.\r\n\r\nA matcher is not the right place for this check, because it is not element-specific, it is for system state.","created_at":"2016-08-23T09:35:05Z","updated_at":"2016-08-23T09:35:05Z","html_url":"https://github.com/google/EarlGrey/pull/219#discussion_r75831511","pull_request_url":"https://api.github.com/repos/google/EarlGrey/pulls/219","_links":{"self":{"href":"https://api.github.com/repos/google/EarlGrey/pulls/comments/75831511"},"html":{"href":"https://github.com/google/EarlGrey/pull/219#discussion_r75831511"},"pull_request":{"href":"https://api.github.com/repos/google/EarlGrey/pulls/219"}}},"pull_request":{"url":"https://api.github.com/repos/google/EarlGrey/pulls/219","id":81036993,"html_url":"https://github.com/google/EarlGrey/pull/219","diff_url":"https://github.com/google/EarlGrey/pull/219.diff","patch_url":"https://github.com/google/EarlGrey/pull/219.patch","issue_url":"https://api.github.com/repos/google/EarlGrey/issues/219","number":219,"state":"open","locked":false,"title":"Cleanup commits + test improvements","user":{"login":"axi0mX","id":15119213,"avatar_url":"https://avatars.githubusercontent.com/u/15119213?v=3","gravatar_id":"","url":"https://api.github.com/users/axi0mX","html_url":"https://github.com/axi0mX","followers_url":"https://api.github.com/users/axi0mX/followers","following_url":"https://api.github.com/users/axi0mX/following{/other_user}","gists_url":"https://api.github.com/users/axi0mX/gists{/gist_id}","starred_url":"https://api.github.com/users/axi0mX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axi0mX/subscriptions","organizations_url":"https://api.github.com/users/axi0mX/orgs","repos_url":"https://api.github.com/users/axi0mX/repos","events_url":"https://api.github.com/users/axi0mX/events{/privacy}","received_events_url":"https://api.github.com/users/axi0mX/received_events","type":"User","site_admin":false},"body":"Small cleanup commits and minor improvements to tests. No new features.","created_at":"2016-08-11T21:47:51Z","updated_at":"2016-08-23T09:35:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79fb1eaf96d4095c5eba03c0a89689dd700dd985","assignee":{"login":"sid-github","id":14877347,"avatar_url":"https://avatars.githubusercontent.com/u/14877347?v=3","gravatar_id":"","url":"https://api.github.com/users/sid-github","html_url":"https://github.com/sid-github","followers_url":"https://api.github.com/users/sid-github/followers","following_url":"https://api.github.com/users/sid-github/following{/other_user}","gists_url":"https://api.github.com/users/sid-github/gists{/gist_id}","starred_url":"https://api.github.com/users/sid-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sid-github/subscriptions","organizations_url":"https://api.github.com/users/sid-github/orgs","repos_url":"https://api.github.com/users/sid-github/repos","events_url":"https://api.github.com/users/sid-github/events{/privacy}","received_events_url":"https://api.github.com/users/sid-github/received_events","type":"User","site_admin":false},"assignees":[{"login":"sid-github","id":14877347,"avatar_url":"https://avatars.githubusercontent.com/u/14877347?v=3","gravatar_id":"","url":"https://api.github.com/users/sid-github","html_url":"https://github.com/sid-github","followers_url":"https://api.github.com/users/sid-github/followers","following_url":"https://api.github.com/users/sid-github/following{/other_user}","gists_url":"https://api.github.com/users/sid-github/gists{/gist_id}","starred_url":"https://api.github.com/users/sid-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sid-github/subscriptions","organizations_url":"https://api.github.com/users/sid-github/orgs","repos_url":"https://api.github.com/users/sid-github/repos","events_url":"https://api.github.com/users/sid-github/events{/privacy}","received_events_url":"https://api.github.com/users/sid-github/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/google/EarlGrey/pulls/219/commits","review_comments_url":"https://api.github.com/repos/google/EarlGrey/pulls/219/comments","review_comment_url":"https://api.github.com/repos/google/EarlGrey/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/EarlGrey/issues/219/comments","statuses_url":"https://api.github.com/repos/google/EarlGrey/statuses/c5e8ff846a0facbf05afadf90e9e60733111c2c5","head":{"label":"axi0mX:cleanup","ref":"cleanup","sha":"c5e8ff846a0facbf05afadf90e9e60733111c2c5","user":{"login":"axi0mX","id":15119213,"avatar_url":"https://avatars.githubusercontent.com/u/15119213?v=3","gravatar_id":"","url":"https://api.github.com/users/axi0mX","html_url":"https://github.com/axi0mX","followers_url":"https://api.github.com/users/axi0mX/followers","following_url":"https://api.github.com/users/axi0mX/following{/other_user}","gists_url":"https://api.github.com/users/axi0mX/gists{/gist_id}","starred_url":"https://api.github.com/users/axi0mX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axi0mX/subscriptions","organizations_url":"https://api.github.com/users/axi0mX/orgs","repos_url":"https://api.github.com/users/axi0mX/repos","events_url":"https://api.github.com/users/axi0mX/events{/privacy}","received_events_url":"https://api.github.com/users/axi0mX/received_events","type":"User","site_admin":false},"repo":{"id":61505449,"name":"EarlGrey","full_name":"axi0mX/EarlGrey","owner":{"login":"axi0mX","id":15119213,"avatar_url":"https://avatars.githubusercontent.com/u/15119213?v=3","gravatar_id":"","url":"https://api.github.com/users/axi0mX","html_url":"https://github.com/axi0mX","followers_url":"https://api.github.com/users/axi0mX/followers","following_url":"https://api.github.com/users/axi0mX/following{/other_user}","gists_url":"https://api.github.com/users/axi0mX/gists{/gist_id}","starred_url":"https://api.github.com/users/axi0mX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axi0mX/subscriptions","organizations_url":"https://api.github.com/users/axi0mX/orgs","repos_url":"https://api.github.com/users/axi0mX/repos","events_url":"https://api.github.com/users/axi0mX/events{/privacy}","received_events_url":"https://api.github.com/users/axi0mX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/axi0mX/EarlGrey","description":":tea: iOS UI Automation Test Framework","fork":true,"url":"https://api.github.com/repos/axi0mX/EarlGrey","forks_url":"https://api.github.com/repos/axi0mX/EarlGrey/forks","keys_url":"https://api.github.com/repos/axi0mX/EarlGrey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/axi0mX/EarlGrey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/axi0mX/EarlGrey/teams","hooks_url":"https://api.github.com/repos/axi0mX/EarlGrey/hooks","issue_events_url":"https://api.github.com/repos/axi0mX/EarlGrey/issues/events{/number}","events_url":"https://api.github.com/repos/axi0mX/EarlGrey/events","assignees_url":"https://api.github.com/repos/axi0mX/EarlGrey/assignees{/user}","branches_url":"https://api.github.com/repos/axi0mX/EarlGrey/branches{/branch}","tags_url":"https://api.github.com/repos/axi0mX/EarlGrey/tags","blobs_url":"https://api.github.com/repos/axi0mX/EarlGrey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/axi0mX/EarlGrey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/axi0mX/EarlGrey/git/refs{/sha}","trees_url":"https://api.github.com/repos/axi0mX/EarlGrey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/axi0mX/EarlGrey/statuses/{sha}","languages_url":"https://api.github.com/repos/axi0mX/EarlGrey/languages","stargazers_url":"https://api.github.com/repos/axi0mX/EarlGrey/stargazers","contributors_url":"https://api.github.com/repos/axi0mX/EarlGrey/contributors","subscribers_url":"https://api.github.com/repos/axi0mX/EarlGrey/subscribers","subscription_url":"https://api.github.com/repos/axi0mX/EarlGrey/subscription","commits_url":"https://api.github.com/repos/axi0mX/EarlGrey/commits{/sha}","git_commits_url":"https://api.github.com/repos/axi0mX/EarlGrey/git/commits{/sha}","comments_url":"https://api.github.com/repos/axi0mX/EarlGrey/comments{/number}","issue_comment_url":"https://api.github.com/repos/axi0mX/EarlGrey/issues/comments{/number}","contents_url":"https://api.github.com/repos/axi0mX/EarlGrey/contents/{+path}","compare_url":"https://api.github.com/repos/axi0mX/EarlGrey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/axi0mX/EarlGrey/merges","archive_url":"https://api.github.com/repos/axi0mX/EarlGrey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/axi0mX/EarlGrey/downloads","issues_url":"https://api.github.com/repos/axi0mX/EarlGrey/issues{/number}","pulls_url":"https://api.github.com/repos/axi0mX/EarlGrey/pulls{/number}","milestones_url":"https://api.github.com/repos/axi0mX/EarlGrey/milestones{/number}","notifications_url":"https://api.github.com/repos/axi0mX/EarlGrey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/axi0mX/EarlGrey/labels{/name}","releases_url":"https://api.github.com/repos/axi0mX/EarlGrey/releases{/id}","deployments_url":"https://api.github.com/repos/axi0mX/EarlGrey/deployments","created_at":"2016-06-19T23:42:15Z","updated_at":"2016-07-15T19:43:17Z","pushed_at":"2016-08-23T09:29:25Z","git_url":"git://github.com/axi0mX/EarlGrey.git","ssh_url":"git@github.com:axi0mX/EarlGrey.git","clone_url":"https://github.com/axi0mX/EarlGrey.git","svn_url":"https://github.com/axi0mX/EarlGrey","homepage":"https://github.com/google/EarlGrey","size":5643,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"google:master","ref":"master","sha":"84485951840754d4c8291f9636b74ea6c6611593","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":51094210,"name":"EarlGrey","full_name":"google/EarlGrey","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/EarlGrey","description":":tea: iOS UI Automation Test Framework","fork":false,"url":"https://api.github.com/repos/google/EarlGrey","forks_url":"https://api.github.com/repos/google/EarlGrey/forks","keys_url":"https://api.github.com/repos/google/EarlGrey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/EarlGrey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/EarlGrey/teams","hooks_url":"https://api.github.com/repos/google/EarlGrey/hooks","issue_events_url":"https://api.github.com/repos/google/EarlGrey/issues/events{/number}","events_url":"https://api.github.com/repos/google/EarlGrey/events","assignees_url":"https://api.github.com/repos/google/EarlGrey/assignees{/user}","branches_url":"https://api.github.com/repos/google/EarlGrey/branches{/branch}","tags_url":"https://api.github.com/repos/google/EarlGrey/tags","blobs_url":"https://api.github.com/repos/google/EarlGrey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/EarlGrey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/EarlGrey/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/EarlGrey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/EarlGrey/statuses/{sha}","languages_url":"https://api.github.com/repos/google/EarlGrey/languages","stargazers_url":"https://api.github.com/repos/google/EarlGrey/stargazers","contributors_url":"https://api.github.com/repos/google/EarlGrey/contributors","subscribers_url":"https://api.github.com/repos/google/EarlGrey/subscribers","subscription_url":"https://api.github.com/repos/google/EarlGrey/subscription","commits_url":"https://api.github.com/repos/google/EarlGrey/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/EarlGrey/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/EarlGrey/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/EarlGrey/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/EarlGrey/contents/{+path}","compare_url":"https://api.github.com/repos/google/EarlGrey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/EarlGrey/merges","archive_url":"https://api.github.com/repos/google/EarlGrey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/EarlGrey/downloads","issues_url":"https://api.github.com/repos/google/EarlGrey/issues{/number}","pulls_url":"https://api.github.com/repos/google/EarlGrey/pulls{/number}","milestones_url":"https://api.github.com/repos/google/EarlGrey/milestones{/number}","notifications_url":"https://api.github.com/repos/google/EarlGrey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/EarlGrey/labels{/name}","releases_url":"https://api.github.com/repos/google/EarlGrey/releases{/id}","deployments_url":"https://api.github.com/repos/google/EarlGrey/deployments","created_at":"2016-02-04T17:55:29Z","updated_at":"2016-08-23T09:26:54Z","pushed_at":"2016-08-23T09:29:26Z","git_url":"git://github.com/google/EarlGrey.git","ssh_url":"git@github.com:google/EarlGrey.git","clone_url":"https://github.com/google/EarlGrey.git","svn_url":"https://github.com/google/EarlGrey","homepage":"http://google.github.io/EarlGrey/","size":8940,"stargazers_count":2937,"watchers_count":2937,"language":"Objective-C","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":333,"mirror_url":null,"open_issues_count":34,"forks":333,"open_issues":34,"watchers":2937,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/EarlGrey/pulls/219"},"html":{"href":"https://github.com/google/EarlGrey/pull/219"},"issue":{"href":"https://api.github.com/repos/google/EarlGrey/issues/219"},"comments":{"href":"https://api.github.com/repos/google/EarlGrey/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/google/EarlGrey/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/google/EarlGrey/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/EarlGrey/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/google/EarlGrey/statuses/c5e8ff846a0facbf05afadf90e9e60733111c2c5"}}}}
{"actor":{"display_login":"axi0mX"}}