{"action":"created","comment":{"url":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/comments/220466118","pull_request_review_id":158878953,"id":220466118,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDQ2NjExOA==","diff_hunk":"@@ -3,8 +3,10 @@ import 'colors'\n import wd from 'wd'\n import {assert} from 'chai'\n \n-const username = 'your Kobiton username'\n-const apiKey = 'your Kobiton api key'\n+const username = process.env.KOBITON_USERNAME\n+const apiKey = process.env.KOBITON_API_KEY\n+const deviceName = process.env.KOBITON_DEVICE_NAME || 'Galaxy*'\n+const deviceOS = process.env.KOBITON_DEVICE_OS || 'Android'\n ","path":"javascript/android-web-test.js","position":10,"original_position":10,"commit_id":"12cd86b1003dba462ca6dc9cbd08473f7ec40b05","original_commit_id":"12cd86b1003dba462ca6dc9cbd08473f7ec40b05","user":{"login":"NguyenHoanTien","id":21338266,"node_id":"MDQ6VXNlcjIxMzM4MjY2","avatar_url":"https://avatars0.githubusercontent.com/u/21338266?v=4","gravatar_id":"","url":"https://api.github.com/users/NguyenHoanTien","html_url":"https://github.com/NguyenHoanTien","followers_url":"https://api.github.com/users/NguyenHoanTien/followers","following_url":"https://api.github.com/users/NguyenHoanTien/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHoanTien/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHoanTien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHoanTien/subscriptions","organizations_url":"https://api.github.com/users/NguyenHoanTien/orgs","repos_url":"https://api.github.com/users/NguyenHoanTien/repos","events_url":"https://api.github.com/users/NguyenHoanTien/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHoanTien/received_events","type":"User","site_admin":false},"body":"const sessionName: process.env.KOBITON_SESSION_NAME || 'Sample session name'","created_at":"2018-09-26T08:17:30Z","updated_at":"2018-09-26T08:18:30Z","html_url":"https://github.com/NguyenHoanTien/samples/pull/2#discussion_r220466118","pull_request_url":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/comments/220466118"},"html":{"href":"https://github.com/NguyenHoanTien/samples/pull/2#discussion_r220466118"},"pull_request":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/2","id":218190473,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MTkwNDcz","html_url":"https://github.com/NguyenHoanTien/samples/pull/2","diff_url":"https://github.com/NguyenHoanTien/samples/pull/2.diff","patch_url":"https://github.com/NguyenHoanTien/samples/pull/2.patch","issue_url":"https://api.github.com/repos/NguyenHoanTien/samples/issues/2","number":2,"state":"open","locked":false,"title":"Modified to accept process.env","user":{"login":"blackheat","id":24262554,"node_id":"MDQ6VXNlcjI0MjYyNTU0","avatar_url":"https://avatars3.githubusercontent.com/u/24262554?v=4","gravatar_id":"","url":"https://api.github.com/users/blackheat","html_url":"https://github.com/blackheat","followers_url":"https://api.github.com/users/blackheat/followers","following_url":"https://api.github.com/users/blackheat/following{/other_user}","gists_url":"https://api.github.com/users/blackheat/gists{/gist_id}","starred_url":"https://api.github.com/users/blackheat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackheat/subscriptions","organizations_url":"https://api.github.com/users/blackheat/orgs","repos_url":"https://api.github.com/users/blackheat/repos","events_url":"https://api.github.com/users/blackheat/events{/privacy}","received_events_url":"https://api.github.com/users/blackheat/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-26T05:09:02Z","updated_at":"2018-09-26T08:18:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"950f62dfcfb09a4d8114493d9b4bf5a2d43fd7f0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/2/commits","review_comments_url":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/2/comments","review_comment_url":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NguyenHoanTien/samples/issues/2/comments","statuses_url":"https://api.github.com/repos/NguyenHoanTien/samples/statuses/12cd86b1003dba462ca6dc9cbd08473f7ec40b05","head":{"label":"blackheat:master","ref":"master","sha":"12cd86b1003dba462ca6dc9cbd08473f7ec40b05","user":{"login":"blackheat","id":24262554,"node_id":"MDQ6VXNlcjI0MjYyNTU0","avatar_url":"https://avatars3.githubusercontent.com/u/24262554?v=4","gravatar_id":"","url":"https://api.github.com/users/blackheat","html_url":"https://github.com/blackheat","followers_url":"https://api.github.com/users/blackheat/followers","following_url":"https://api.github.com/users/blackheat/following{/other_user}","gists_url":"https://api.github.com/users/blackheat/gists{/gist_id}","starred_url":"https://api.github.com/users/blackheat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackheat/subscriptions","organizations_url":"https://api.github.com/users/blackheat/orgs","repos_url":"https://api.github.com/users/blackheat/repos","events_url":"https://api.github.com/users/blackheat/events{/privacy}","received_events_url":"https://api.github.com/users/blackheat/received_events","type":"User","site_admin":false},"repo":{"id":144830099,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ4MzAwOTk=","name":"samples","full_name":"blackheat/samples","private":false,"owner":{"login":"blackheat","id":24262554,"node_id":"MDQ6VXNlcjI0MjYyNTU0","avatar_url":"https://avatars3.githubusercontent.com/u/24262554?v=4","gravatar_id":"","url":"https://api.github.com/users/blackheat","html_url":"https://github.com/blackheat","followers_url":"https://api.github.com/users/blackheat/followers","following_url":"https://api.github.com/users/blackheat/following{/other_user}","gists_url":"https://api.github.com/users/blackheat/gists{/gist_id}","starred_url":"https://api.github.com/users/blackheat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackheat/subscriptions","organizations_url":"https://api.github.com/users/blackheat/orgs","repos_url":"https://api.github.com/users/blackheat/repos","events_url":"https://api.github.com/users/blackheat/events{/privacy}","received_events_url":"https://api.github.com/users/blackheat/received_events","type":"User","site_admin":false},"html_url":"https://github.com/blackheat/samples","description":"Getting started for running automation testing on Kobiton platform","fork":true,"url":"https://api.github.com/repos/blackheat/samples","forks_url":"https://api.github.com/repos/blackheat/samples/forks","keys_url":"https://api.github.com/repos/blackheat/samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blackheat/samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blackheat/samples/teams","hooks_url":"https://api.github.com/repos/blackheat/samples/hooks","issue_events_url":"https://api.github.com/repos/blackheat/samples/issues/events{/number}","events_url":"https://api.github.com/repos/blackheat/samples/events","assignees_url":"https://api.github.com/repos/blackheat/samples/assignees{/user}","branches_url":"https://api.github.com/repos/blackheat/samples/branches{/branch}","tags_url":"https://api.github.com/repos/blackheat/samples/tags","blobs_url":"https://api.github.com/repos/blackheat/samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blackheat/samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blackheat/samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/blackheat/samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blackheat/samples/statuses/{sha}","languages_url":"https://api.github.com/repos/blackheat/samples/languages","stargazers_url":"https://api.github.com/repos/blackheat/samples/stargazers","contributors_url":"https://api.github.com/repos/blackheat/samples/contributors","subscribers_url":"https://api.github.com/repos/blackheat/samples/subscribers","subscription_url":"https://api.github.com/repos/blackheat/samples/subscription","commits_url":"https://api.github.com/repos/blackheat/samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/blackheat/samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/blackheat/samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/blackheat/samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/blackheat/samples/contents/{+path}","compare_url":"https://api.github.com/repos/blackheat/samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blackheat/samples/merges","archive_url":"https://api.github.com/repos/blackheat/samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blackheat/samples/downloads","issues_url":"https://api.github.com/repos/blackheat/samples/issues{/number}","pulls_url":"https://api.github.com/repos/blackheat/samples/pulls{/number}","milestones_url":"https://api.github.com/repos/blackheat/samples/milestones{/number}","notifications_url":"https://api.github.com/repos/blackheat/samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blackheat/samples/labels{/name}","releases_url":"https://api.github.com/repos/blackheat/samples/releases{/id}","deployments_url":"https://api.github.com/repos/blackheat/samples/deployments","created_at":"2018-08-15T08:57:47Z","updated_at":"2018-09-26T05:08:16Z","pushed_at":"2018-09-26T05:08:15Z","git_url":"git://github.com/blackheat/samples.git","ssh_url":"git@github.com:blackheat/samples.git","clone_url":"https://github.com/blackheat/samples.git","svn_url":"https://github.com/blackheat/samples","homepage":null,"size":3374,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NguyenHoanTien:master","ref":"master","sha":"07665a01ddc0fe07f40fc9fbfeda48e6bba25ae9","user":{"login":"NguyenHoanTien","id":21338266,"node_id":"MDQ6VXNlcjIxMzM4MjY2","avatar_url":"https://avatars0.githubusercontent.com/u/21338266?v=4","gravatar_id":"","url":"https://api.github.com/users/NguyenHoanTien","html_url":"https://github.com/NguyenHoanTien","followers_url":"https://api.github.com/users/NguyenHoanTien/followers","following_url":"https://api.github.com/users/NguyenHoanTien/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHoanTien/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHoanTien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHoanTien/subscriptions","organizations_url":"https://api.github.com/users/NguyenHoanTien/orgs","repos_url":"https://api.github.com/users/NguyenHoanTien/repos","events_url":"https://api.github.com/users/NguyenHoanTien/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHoanTien/received_events","type":"User","site_admin":false},"repo":{"id":140686625,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA2ODY2MjU=","name":"samples","full_name":"NguyenHoanTien/samples","private":false,"owner":{"login":"NguyenHoanTien","id":21338266,"node_id":"MDQ6VXNlcjIxMzM4MjY2","avatar_url":"https://avatars0.githubusercontent.com/u/21338266?v=4","gravatar_id":"","url":"https://api.github.com/users/NguyenHoanTien","html_url":"https://github.com/NguyenHoanTien","followers_url":"https://api.github.com/users/NguyenHoanTien/followers","following_url":"https://api.github.com/users/NguyenHoanTien/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHoanTien/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHoanTien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHoanTien/subscriptions","organizations_url":"https://api.github.com/users/NguyenHoanTien/orgs","repos_url":"https://api.github.com/users/NguyenHoanTien/repos","events_url":"https://api.github.com/users/NguyenHoanTien/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHoanTien/received_events","type":"User","site_admin":false},"html_url":"https://github.com/NguyenHoanTien/samples","description":"Getting started for running automation testing on Kobiton platform","fork":true,"url":"https://api.github.com/repos/NguyenHoanTien/samples","forks_url":"https://api.github.com/repos/NguyenHoanTien/samples/forks","keys_url":"https://api.github.com/repos/NguyenHoanTien/samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NguyenHoanTien/samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NguyenHoanTien/samples/teams","hooks_url":"https://api.github.com/repos/NguyenHoanTien/samples/hooks","issue_events_url":"https://api.github.com/repos/NguyenHoanTien/samples/issues/events{/number}","events_url":"https://api.github.com/repos/NguyenHoanTien/samples/events","assignees_url":"https://api.github.com/repos/NguyenHoanTien/samples/assignees{/user}","branches_url":"https://api.github.com/repos/NguyenHoanTien/samples/branches{/branch}","tags_url":"https://api.github.com/repos/NguyenHoanTien/samples/tags","blobs_url":"https://api.github.com/repos/NguyenHoanTien/samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NguyenHoanTien/samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NguyenHoanTien/samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/NguyenHoanTien/samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NguyenHoanTien/samples/statuses/{sha}","languages_url":"https://api.github.com/repos/NguyenHoanTien/samples/languages","stargazers_url":"https://api.github.com/repos/NguyenHoanTien/samples/stargazers","contributors_url":"https://api.github.com/repos/NguyenHoanTien/samples/contributors","subscribers_url":"https://api.github.com/repos/NguyenHoanTien/samples/subscribers","subscription_url":"https://api.github.com/repos/NguyenHoanTien/samples/subscription","commits_url":"https://api.github.com/repos/NguyenHoanTien/samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/NguyenHoanTien/samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/NguyenHoanTien/samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/NguyenHoanTien/samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/NguyenHoanTien/samples/contents/{+path}","compare_url":"https://api.github.com/repos/NguyenHoanTien/samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NguyenHoanTien/samples/merges","archive_url":"https://api.github.com/repos/NguyenHoanTien/samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NguyenHoanTien/samples/downloads","issues_url":"https://api.github.com/repos/NguyenHoanTien/samples/issues{/number}","pulls_url":"https://api.github.com/repos/NguyenHoanTien/samples/pulls{/number}","milestones_url":"https://api.github.com/repos/NguyenHoanTien/samples/milestones{/number}","notifications_url":"https://api.github.com/repos/NguyenHoanTien/samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NguyenHoanTien/samples/labels{/name}","releases_url":"https://api.github.com/repos/NguyenHoanTien/samples/releases{/id}","deployments_url":"https://api.github.com/repos/NguyenHoanTien/samples/deployments","created_at":"2018-07-12T08:45:58Z","updated_at":"2018-07-12T08:46:00Z","pushed_at":"2018-09-26T05:09:02Z","git_url":"git://github.com/NguyenHoanTien/samples.git","ssh_url":"git@github.com:NguyenHoanTien/samples.git","clone_url":"https://github.com/NguyenHoanTien/samples.git","svn_url":"https://github.com/NguyenHoanTien/samples","homepage":null,"size":3365,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/2"},"html":{"href":"https://github.com/NguyenHoanTien/samples/pull/2"},"issue":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/issues/2"},"comments":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/NguyenHoanTien/samples/statuses/12cd86b1003dba462ca6dc9cbd08473f7ec40b05"}},"author_association":"NONE"}}
{"actor":{"display_login":"NguyenHoanTien"}}