{"action":"created","comment":{"url":"https://api.github.com/repos/lm-tools/your-work-search/pulls/comments/65903542","id":65903542,"diff_hunk":"@@ -5,13 +5,32 @@ const AddJobPage = function AddJobPage(browser) {\n     browser\n       .fill('#job-title', data.title)\n       .fill('#job-employer', data.employer)\n+      .choose(`#job-sourceType-${data.sourceType}`)\n+      .fill('#job-sourceUrl', data.sourceUrl)\n+      .choose(`#job-rating-${data.rating}`)\n+      .fill('#job-deadline', data.deadline)\n       .pressButton('input[type=submit]');\n \n   this.getValidationError = () => browser.text('#validation-errors');\n \n   this.visit = (accountId) => browser.visit(`/${accountId}/jobs/new`);\n \n   this.employerFieldValue = () => browser.field('#job-employer').value;\n+  this.chooseSourceType = (sourceType) => browser.choose(`#job-sourceType-${sourceType}`);\n+  this.isSourceUrlHidden = () =>\n+    browser.query('#job-sourceUrl-group').className.split(/\\s+/).includes('js-hidden');\n+  this.formValues = () =>\n+    ({\n+      title: browser.field('#job-title').value,\n+      employer: browser.field('#job-employer').value,\n+      sourceType: browser.field('[name=\"sourceType\"][checked]').value,\n+      sourceUrl: browser.field('#job-sourceUrl').value,\n+      rating: browser.field('[name=\"rating\"][checked]').value,\n+      deadline: browser.field('#job-deadline').value,\n+    });\n+  this.fillDeadline = deadline => browser.fill('#job-deadline', deadline);\n+  this.fillTitle = title => browser.fill('#job-title', title);\n+  this.submit = () => browser.pressButton('input[type=submit]');","path":"test/common/page_objects/AddJobPage.js","position":29,"original_position":29,"commit_id":"2d45e2f42049d8c24ad31352501ba0e2a1d59911","original_commit_id":"2d45e2f42049d8c24ad31352501ba0e2a1d59911","user":{"login":"gjvis","id":418277,"avatar_url":"https://avatars.githubusercontent.com/u/418277?v=3","gravatar_id":"","url":"https://api.github.com/users/gjvis","html_url":"https://github.com/gjvis","followers_url":"https://api.github.com/users/gjvis/followers","following_url":"https://api.github.com/users/gjvis/following{/other_user}","gists_url":"https://api.github.com/users/gjvis/gists{/gist_id}","starred_url":"https://api.github.com/users/gjvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjvis/subscriptions","organizations_url":"https://api.github.com/users/gjvis/orgs","repos_url":"https://api.github.com/users/gjvis/repos","events_url":"https://api.github.com/users/gjvis/events{/privacy}","received_events_url":"https://api.github.com/users/gjvis/received_events","type":"User","site_admin":false},"body":"is there a reason that we've referred to some fields using IDs and others using `[name=\"foo\"]` type selectors?","created_at":"2016-06-06T14:49:43Z","updated_at":"2016-06-06T14:49:43Z","html_url":"https://github.com/lm-tools/your-work-search/pull/12#discussion_r65903542","pull_request_url":"https://api.github.com/repos/lm-tools/your-work-search/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/lm-tools/your-work-search/pulls/comments/65903542"},"html":{"href":"https://github.com/lm-tools/your-work-search/pull/12#discussion_r65903542"},"pull_request":{"href":"https://api.github.com/repos/lm-tools/your-work-search/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/lm-tools/your-work-search/pulls/12","id":72213175,"html_url":"https://github.com/lm-tools/your-work-search/pull/12","diff_url":"https://github.com/lm-tools/your-work-search/pull/12.diff","patch_url":"https://github.com/lm-tools/your-work-search/pull/12.patch","issue_url":"https://api.github.com/repos/lm-tools/your-work-search/issues/12","number":12,"state":"open","locked":false,"title":"Additional fields for job application","user":{"login":"lukasz-kaniowski","id":174123,"avatar_url":"https://avatars.githubusercontent.com/u/174123?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasz-kaniowski","html_url":"https://github.com/lukasz-kaniowski","followers_url":"https://api.github.com/users/lukasz-kaniowski/followers","following_url":"https://api.github.com/users/lukasz-kaniowski/following{/other_user}","gists_url":"https://api.github.com/users/lukasz-kaniowski/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasz-kaniowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasz-kaniowski/subscriptions","organizations_url":"https://api.github.com/users/lukasz-kaniowski/orgs","repos_url":"https://api.github.com/users/lukasz-kaniowski/repos","events_url":"https://api.github.com/users/lukasz-kaniowski/events{/privacy}","received_events_url":"https://api.github.com/users/lukasz-kaniowski/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-01T16:38:00Z","updated_at":"2016-06-06T14:49:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9527b325f5b88d8cf683dc48a904a43db5737498","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lm-tools/your-work-search/pulls/12/commits","review_comments_url":"https://api.github.com/repos/lm-tools/your-work-search/pulls/12/comments","review_comment_url":"https://api.github.com/repos/lm-tools/your-work-search/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lm-tools/your-work-search/issues/12/comments","statuses_url":"https://api.github.com/repos/lm-tools/your-work-search/statuses/2d45e2f42049d8c24ad31352501ba0e2a1d59911","head":{"label":"lm-tools:job-additional-fields","ref":"job-additional-fields","sha":"2d45e2f42049d8c24ad31352501ba0e2a1d59911","user":{"login":"lm-tools","id":12998430,"avatar_url":"https://avatars.githubusercontent.com/u/12998430?v=3","gravatar_id":"","url":"https://api.github.com/users/lm-tools","html_url":"https://github.com/lm-tools","followers_url":"https://api.github.com/users/lm-tools/followers","following_url":"https://api.github.com/users/lm-tools/following{/other_user}","gists_url":"https://api.github.com/users/lm-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/lm-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm-tools/subscriptions","organizations_url":"https://api.github.com/users/lm-tools/orgs","repos_url":"https://api.github.com/users/lm-tools/repos","events_url":"https://api.github.com/users/lm-tools/events{/privacy}","received_events_url":"https://api.github.com/users/lm-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":59473663,"name":"your-work-search","full_name":"lm-tools/your-work-search","owner":{"login":"lm-tools","id":12998430,"avatar_url":"https://avatars.githubusercontent.com/u/12998430?v=3","gravatar_id":"","url":"https://api.github.com/users/lm-tools","html_url":"https://github.com/lm-tools","followers_url":"https://api.github.com/users/lm-tools/followers","following_url":"https://api.github.com/users/lm-tools/following{/other_user}","gists_url":"https://api.github.com/users/lm-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/lm-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm-tools/subscriptions","organizations_url":"https://api.github.com/users/lm-tools/orgs","repos_url":"https://api.github.com/users/lm-tools/repos","events_url":"https://api.github.com/users/lm-tools/events{/privacy}","received_events_url":"https://api.github.com/users/lm-tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lm-tools/your-work-search","description":"","fork":false,"url":"https://api.github.com/repos/lm-tools/your-work-search","forks_url":"https://api.github.com/repos/lm-tools/your-work-search/forks","keys_url":"https://api.github.com/repos/lm-tools/your-work-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lm-tools/your-work-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lm-tools/your-work-search/teams","hooks_url":"https://api.github.com/repos/lm-tools/your-work-search/hooks","issue_events_url":"https://api.github.com/repos/lm-tools/your-work-search/issues/events{/number}","events_url":"https://api.github.com/repos/lm-tools/your-work-search/events","assignees_url":"https://api.github.com/repos/lm-tools/your-work-search/assignees{/user}","branches_url":"https://api.github.com/repos/lm-tools/your-work-search/branches{/branch}","tags_url":"https://api.github.com/repos/lm-tools/your-work-search/tags","blobs_url":"https://api.github.com/repos/lm-tools/your-work-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lm-tools/your-work-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lm-tools/your-work-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/lm-tools/your-work-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lm-tools/your-work-search/statuses/{sha}","languages_url":"https://api.github.com/repos/lm-tools/your-work-search/languages","stargazers_url":"https://api.github.com/repos/lm-tools/your-work-search/stargazers","contributors_url":"https://api.github.com/repos/lm-tools/your-work-search/contributors","subscribers_url":"https://api.github.com/repos/lm-tools/your-work-search/subscribers","subscription_url":"https://api.github.com/repos/lm-tools/your-work-search/subscription","commits_url":"https://api.github.com/repos/lm-tools/your-work-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/lm-tools/your-work-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/lm-tools/your-work-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/lm-tools/your-work-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/lm-tools/your-work-search/contents/{+path}","compare_url":"https://api.github.com/repos/lm-tools/your-work-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lm-tools/your-work-search/merges","archive_url":"https://api.github.com/repos/lm-tools/your-work-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lm-tools/your-work-search/downloads","issues_url":"https://api.github.com/repos/lm-tools/your-work-search/issues{/number}","pulls_url":"https://api.github.com/repos/lm-tools/your-work-search/pulls{/number}","milestones_url":"https://api.github.com/repos/lm-tools/your-work-search/milestones{/number}","notifications_url":"https://api.github.com/repos/lm-tools/your-work-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lm-tools/your-work-search/labels{/name}","releases_url":"https://api.github.com/repos/lm-tools/your-work-search/releases{/id}","deployments_url":"https://api.github.com/repos/lm-tools/your-work-search/deployments","created_at":"2016-05-23T10:27:53Z","updated_at":"2016-05-23T10:29:49Z","pushed_at":"2016-06-06T14:22:23Z","git_url":"git://github.com/lm-tools/your-work-search.git","ssh_url":"git@github.com:lm-tools/your-work-search.git","clone_url":"https://github.com/lm-tools/your-work-search.git","svn_url":"https://github.com/lm-tools/your-work-search","homepage":null,"size":618,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"lm-tools:master","ref":"master","sha":"325cb86247c7463118485bdd8072532239711a42","user":{"login":"lm-tools","id":12998430,"avatar_url":"https://avatars.githubusercontent.com/u/12998430?v=3","gravatar_id":"","url":"https://api.github.com/users/lm-tools","html_url":"https://github.com/lm-tools","followers_url":"https://api.github.com/users/lm-tools/followers","following_url":"https://api.github.com/users/lm-tools/following{/other_user}","gists_url":"https://api.github.com/users/lm-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/lm-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm-tools/subscriptions","organizations_url":"https://api.github.com/users/lm-tools/orgs","repos_url":"https://api.github.com/users/lm-tools/repos","events_url":"https://api.github.com/users/lm-tools/events{/privacy}","received_events_url":"https://api.github.com/users/lm-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":59473663,"name":"your-work-search","full_name":"lm-tools/your-work-search","owner":{"login":"lm-tools","id":12998430,"avatar_url":"https://avatars.githubusercontent.com/u/12998430?v=3","gravatar_id":"","url":"https://api.github.com/users/lm-tools","html_url":"https://github.com/lm-tools","followers_url":"https://api.github.com/users/lm-tools/followers","following_url":"https://api.github.com/users/lm-tools/following{/other_user}","gists_url":"https://api.github.com/users/lm-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/lm-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm-tools/subscriptions","organizations_url":"https://api.github.com/users/lm-tools/orgs","repos_url":"https://api.github.com/users/lm-tools/repos","events_url":"https://api.github.com/users/lm-tools/events{/privacy}","received_events_url":"https://api.github.com/users/lm-tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lm-tools/your-work-search","description":"","fork":false,"url":"https://api.github.com/repos/lm-tools/your-work-search","forks_url":"https://api.github.com/repos/lm-tools/your-work-search/forks","keys_url":"https://api.github.com/repos/lm-tools/your-work-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lm-tools/your-work-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lm-tools/your-work-search/teams","hooks_url":"https://api.github.com/repos/lm-tools/your-work-search/hooks","issue_events_url":"https://api.github.com/repos/lm-tools/your-work-search/issues/events{/number}","events_url":"https://api.github.com/repos/lm-tools/your-work-search/events","assignees_url":"https://api.github.com/repos/lm-tools/your-work-search/assignees{/user}","branches_url":"https://api.github.com/repos/lm-tools/your-work-search/branches{/branch}","tags_url":"https://api.github.com/repos/lm-tools/your-work-search/tags","blobs_url":"https://api.github.com/repos/lm-tools/your-work-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lm-tools/your-work-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lm-tools/your-work-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/lm-tools/your-work-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lm-tools/your-work-search/statuses/{sha}","languages_url":"https://api.github.com/repos/lm-tools/your-work-search/languages","stargazers_url":"https://api.github.com/repos/lm-tools/your-work-search/stargazers","contributors_url":"https://api.github.com/repos/lm-tools/your-work-search/contributors","subscribers_url":"https://api.github.com/repos/lm-tools/your-work-search/subscribers","subscription_url":"https://api.github.com/repos/lm-tools/your-work-search/subscription","commits_url":"https://api.github.com/repos/lm-tools/your-work-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/lm-tools/your-work-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/lm-tools/your-work-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/lm-tools/your-work-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/lm-tools/your-work-search/contents/{+path}","compare_url":"https://api.github.com/repos/lm-tools/your-work-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lm-tools/your-work-search/merges","archive_url":"https://api.github.com/repos/lm-tools/your-work-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lm-tools/your-work-search/downloads","issues_url":"https://api.github.com/repos/lm-tools/your-work-search/issues{/number}","pulls_url":"https://api.github.com/repos/lm-tools/your-work-search/pulls{/number}","milestones_url":"https://api.github.com/repos/lm-tools/your-work-search/milestones{/number}","notifications_url":"https://api.github.com/repos/lm-tools/your-work-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lm-tools/your-work-search/labels{/name}","releases_url":"https://api.github.com/repos/lm-tools/your-work-search/releases{/id}","deployments_url":"https://api.github.com/repos/lm-tools/your-work-search/deployments","created_at":"2016-05-23T10:27:53Z","updated_at":"2016-05-23T10:29:49Z","pushed_at":"2016-06-06T14:22:23Z","git_url":"git://github.com/lm-tools/your-work-search.git","ssh_url":"git@github.com:lm-tools/your-work-search.git","clone_url":"https://github.com/lm-tools/your-work-search.git","svn_url":"https://github.com/lm-tools/your-work-search","homepage":null,"size":618,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lm-tools/your-work-search/pulls/12"},"html":{"href":"https://github.com/lm-tools/your-work-search/pull/12"},"issue":{"href":"https://api.github.com/repos/lm-tools/your-work-search/issues/12"},"comments":{"href":"https://api.github.com/repos/lm-tools/your-work-search/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/lm-tools/your-work-search/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/lm-tools/your-work-search/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lm-tools/your-work-search/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/lm-tools/your-work-search/statuses/2d45e2f42049d8c24ad31352501ba0e2a1d59911"}}}}
{"actor":{"display_login":"gjvis"}}