{"action":"created","comment":{"url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/comments/175056286","pull_request_review_id":104524395,"id":175056286,"diff_hunk":"@@ -0,0 +1,46 @@\n+'use strict';\n+const\n+\tdriver = global.driver,\n+\twebdriver = global.webdriver,\n+\tuser = require(`${global.projRoot}/Config/data_config.js`).user,\n+\tplace = require(`${global.projRoot}/Config/data_config.js`).tempPlace;\n+describe('Query Checkin - Positive', () => {\n+\tbefore(() => {\n+\t\treturn driver\n+\t\t\t.elementById('com.example.axway.mbaas:id/btn_login')\n+\t\t\t.click()\n+\t\t\t.elementByAndroidUIAutomator('new UiSelector().text(\"Users\")')\n+\t\t\t.click()\n+\t\t\t.elementByAndroidUIAutomator('new UiSelector().text(\"Login User\")')\n+\t\t\t.click()\n+\t\t\t.elementById('com.example.axway.mbaas:id/users_login_username_field')\n+\t\t\t.sendKeys(user.username)\n+\t\t\t.elementById('com.example.axway.mbaas:id/users_login_password_field')\n+\t\t\t.sendKeys(user.password)\n+\t\t\t.elementById('com.example.axway.mbaas:id/users_login_button1')\n+\t\t\t.click()\n+\t\t\t.waitForElementByAndroidUIAutomator('new UiSelector().text(\"Success!\")', webdriver.asserters.isDisplayed, 10000)\n+\t\t\t.elementById('android:id/button1')\n+\t\t\t.click()\n+\t\t\t.back()\n+\t\t\t.elementByAndroidUIAutomator('new UiSelector().text(\"Checkins\")')\n+\t\t\t.click() // Navigates to Checkins module\n+\t\t\t.elementByAndroidUIAutomator('new UiSelector().text(\"Query Checkin\")')\n+\t\t\t.click(); // Navigates to Query Checkin\n+\t});\n+\tafter(() => {\n+\t\treturn driver.resetApp();\n+\t});\n+\tit('Get Checkin Details', () => { // will get selected checkin details\n+\t\treturn driver\n+\t\t\t.waitForElementByAndroidUIAutomator(`new UiSelector().text(\"${place.name}\")`, webdriver.asserters.isDisplayed, 10000)\n+\t\t\t.click()\n+\t\t\t.sleep(10000) // Sleep is included to wait for api response as its taking time to get response\n+\t\t\t.waitForElementById('com.example.axway.mbaas:id/checkins_show_text_view', 10000)\n+\t\t\t.getAttribute('text')\n+\t\t\t.then(text => {\n+\t\t\t\ttext.should.include('ok');\n+\t\t\t\ttext.should.include('200');","path":"Tests/Android_Studio/Checkin/Checkin.Query.Positive.test.js","position":43,"original_position":43,"commit_id":"b4874942ebb2af460b2711a9b3abfb6b21a68ba6","original_commit_id":"b4874942ebb2af460b2711a9b3abfb6b21a68ba6","user":{"login":"SamJHaig","id":14187093,"avatar_url":"https://avatars2.githubusercontent.com/u/14187093?v=4","gravatar_id":"","url":"https://api.github.com/users/SamJHaig","html_url":"https://github.com/SamJHaig","followers_url":"https://api.github.com/users/SamJHaig/followers","following_url":"https://api.github.com/users/SamJHaig/following{/other_user}","gists_url":"https://api.github.com/users/SamJHaig/gists{/gist_id}","starred_url":"https://api.github.com/users/SamJHaig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamJHaig/subscriptions","organizations_url":"https://api.github.com/users/SamJHaig/orgs","repos_url":"https://api.github.com/users/SamJHaig/repos","events_url":"https://api.github.com/users/SamJHaig/events{/privacy}","received_events_url":"https://api.github.com/users/SamJHaig/received_events","type":"User","site_admin":false},"body":"I think you should check more details here, such as the location of the checkin, and the date that it was created, to make sure we're querying the correct checkin, and not an incorrect return","created_at":"2018-03-16T11:01:42Z","updated_at":"2018-03-16T11:01:55Z","html_url":"https://github.com/pradeepgudipati/Client-Generator-Appium/pull/19#discussion_r175056286","pull_request_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/19","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/comments/175056286"},"html":{"href":"https://github.com/pradeepgudipati/Client-Generator-Appium/pull/19#discussion_r175056286"},"pull_request":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/19","id":173696759,"html_url":"https://github.com/pradeepgudipati/Client-Generator-Appium/pull/19","diff_url":"https://github.com/pradeepgudipati/Client-Generator-Appium/pull/19.diff","patch_url":"https://github.com/pradeepgudipati/Client-Generator-Appium/pull/19.patch","issue_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues/19","number":19,"state":"open","locked":false,"title":"Checkin Android : Checkin Create and Delete positive and negative cases","user":{"login":"annamharika","id":23446310,"avatar_url":"https://avatars3.githubusercontent.com/u/23446310?v=4","gravatar_id":"","url":"https://api.github.com/users/annamharika","html_url":"https://github.com/annamharika","followers_url":"https://api.github.com/users/annamharika/followers","following_url":"https://api.github.com/users/annamharika/following{/other_user}","gists_url":"https://api.github.com/users/annamharika/gists{/gist_id}","starred_url":"https://api.github.com/users/annamharika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annamharika/subscriptions","organizations_url":"https://api.github.com/users/annamharika/orgs","repos_url":"https://api.github.com/users/annamharika/repos","events_url":"https://api.github.com/users/annamharika/events{/privacy}","received_events_url":"https://api.github.com/users/annamharika/received_events","type":"User","site_admin":false},"body":"Checkin Module all test cases","created_at":"2018-03-08T10:20:32Z","updated_at":"2018-03-16T11:01:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c9fb98fbf9458e5e5ff155f77a3b71e4b55e0fd","assignee":null,"assignees":[],"requested_reviewers":[{"login":"TejasreeMarthy","id":17449631,"avatar_url":"https://avatars1.githubusercontent.com/u/17449631?v=4","gravatar_id":"","url":"https://api.github.com/users/TejasreeMarthy","html_url":"https://github.com/TejasreeMarthy","followers_url":"https://api.github.com/users/TejasreeMarthy/followers","following_url":"https://api.github.com/users/TejasreeMarthy/following{/other_user}","gists_url":"https://api.github.com/users/TejasreeMarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/TejasreeMarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TejasreeMarthy/subscriptions","organizations_url":"https://api.github.com/users/TejasreeMarthy/orgs","repos_url":"https://api.github.com/users/TejasreeMarthy/repos","events_url":"https://api.github.com/users/TejasreeMarthy/events{/privacy}","received_events_url":"https://api.github.com/users/TejasreeMarthy/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/19/commits","review_comments_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/19/comments","review_comment_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues/19/comments","statuses_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/statuses/b4874942ebb2af460b2711a9b3abfb6b21a68ba6","head":{"label":"pradeepgudipati:Checkin_Android","ref":"Checkin_Android","sha":"b4874942ebb2af460b2711a9b3abfb6b21a68ba6","user":{"login":"pradeepgudipati","id":20687369,"avatar_url":"https://avatars0.githubusercontent.com/u/20687369?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgudipati","html_url":"https://github.com/pradeepgudipati","followers_url":"https://api.github.com/users/pradeepgudipati/followers","following_url":"https://api.github.com/users/pradeepgudipati/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgudipati/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgudipati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgudipati/subscriptions","organizations_url":"https://api.github.com/users/pradeepgudipati/orgs","repos_url":"https://api.github.com/users/pradeepgudipati/repos","events_url":"https://api.github.com/users/pradeepgudipati/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgudipati/received_events","type":"User","site_admin":false},"repo":{"id":116642130,"name":"Client-Generator-Appium","full_name":"pradeepgudipati/Client-Generator-Appium","owner":{"login":"pradeepgudipati","id":20687369,"avatar_url":"https://avatars0.githubusercontent.com/u/20687369?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgudipati","html_url":"https://github.com/pradeepgudipati","followers_url":"https://api.github.com/users/pradeepgudipati/followers","following_url":"https://api.github.com/users/pradeepgudipati/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgudipati/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgudipati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgudipati/subscriptions","organizations_url":"https://api.github.com/users/pradeepgudipati/orgs","repos_url":"https://api.github.com/users/pradeepgudipati/repos","events_url":"https://api.github.com/users/pradeepgudipati/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgudipati/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pradeepgudipati/Client-Generator-Appium","description":"Client SDK Generator Automation. ","fork":false,"url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium","forks_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/forks","keys_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/teams","hooks_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/hooks","issue_events_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues/events{/number}","events_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/events","assignees_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/assignees{/user}","branches_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/branches{/branch}","tags_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/tags","blobs_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/refs{/sha}","trees_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/statuses/{sha}","languages_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/languages","stargazers_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/stargazers","contributors_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/contributors","subscribers_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/subscribers","subscription_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/subscription","commits_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/commits{/sha}","git_commits_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/commits{/sha}","comments_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/comments{/number}","issue_comment_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues/comments{/number}","contents_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/contents/{+path}","compare_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/merges","archive_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/downloads","issues_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues{/number}","pulls_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls{/number}","milestones_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/milestones{/number}","notifications_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/labels{/name}","releases_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/releases{/id}","deployments_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/deployments","created_at":"2018-01-08T07:06:21Z","updated_at":"2018-03-13T17:06:21Z","pushed_at":"2018-03-14T10:43:08Z","git_url":"git://github.com/pradeepgudipati/Client-Generator-Appium.git","ssh_url":"git@github.com:pradeepgudipati/Client-Generator-Appium.git","clone_url":"https://github.com/pradeepgudipati/Client-Generator-Appium.git","svn_url":"https://github.com/pradeepgudipati/Client-Generator-Appium","homepage":null,"size":213,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":1,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"pradeepgudipati:master","ref":"master","sha":"cde6169b0f43575322194f39636ef839da17009f","user":{"login":"pradeepgudipati","id":20687369,"avatar_url":"https://avatars0.githubusercontent.com/u/20687369?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgudipati","html_url":"https://github.com/pradeepgudipati","followers_url":"https://api.github.com/users/pradeepgudipati/followers","following_url":"https://api.github.com/users/pradeepgudipati/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgudipati/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgudipati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgudipati/subscriptions","organizations_url":"https://api.github.com/users/pradeepgudipati/orgs","repos_url":"https://api.github.com/users/pradeepgudipati/repos","events_url":"https://api.github.com/users/pradeepgudipati/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgudipati/received_events","type":"User","site_admin":false},"repo":{"id":116642130,"name":"Client-Generator-Appium","full_name":"pradeepgudipati/Client-Generator-Appium","owner":{"login":"pradeepgudipati","id":20687369,"avatar_url":"https://avatars0.githubusercontent.com/u/20687369?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgudipati","html_url":"https://github.com/pradeepgudipati","followers_url":"https://api.github.com/users/pradeepgudipati/followers","following_url":"https://api.github.com/users/pradeepgudipati/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgudipati/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgudipati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgudipati/subscriptions","organizations_url":"https://api.github.com/users/pradeepgudipati/orgs","repos_url":"https://api.github.com/users/pradeepgudipati/repos","events_url":"https://api.github.com/users/pradeepgudipati/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgudipati/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pradeepgudipati/Client-Generator-Appium","description":"Client SDK Generator Automation. ","fork":false,"url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium","forks_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/forks","keys_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/teams","hooks_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/hooks","issue_events_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues/events{/number}","events_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/events","assignees_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/assignees{/user}","branches_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/branches{/branch}","tags_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/tags","blobs_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/refs{/sha}","trees_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/statuses/{sha}","languages_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/languages","stargazers_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/stargazers","contributors_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/contributors","subscribers_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/subscribers","subscription_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/subscription","commits_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/commits{/sha}","git_commits_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/git/commits{/sha}","comments_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/comments{/number}","issue_comment_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues/comments{/number}","contents_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/contents/{+path}","compare_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/merges","archive_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/downloads","issues_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues{/number}","pulls_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls{/number}","milestones_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/milestones{/number}","notifications_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/labels{/name}","releases_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/releases{/id}","deployments_url":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/deployments","created_at":"2018-01-08T07:06:21Z","updated_at":"2018-03-13T17:06:21Z","pushed_at":"2018-03-14T10:43:08Z","git_url":"git://github.com/pradeepgudipati/Client-Generator-Appium.git","ssh_url":"git@github.com:pradeepgudipati/Client-Generator-Appium.git","clone_url":"https://github.com/pradeepgudipati/Client-Generator-Appium.git","svn_url":"https://github.com/pradeepgudipati/Client-Generator-Appium","homepage":null,"size":213,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":1,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/19"},"html":{"href":"https://github.com/pradeepgudipati/Client-Generator-Appium/pull/19"},"issue":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues/19"},"comments":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/pradeepgudipati/Client-Generator-Appium/statuses/b4874942ebb2af460b2711a9b3abfb6b21a68ba6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"SamJHaig"}}