{"action":"created","comment":{"url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/comments/266945724","pull_request_review_id":216229735,"id":266945724,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2Njk0NTcyNA==","diff_hunk":"@@ -0,0 +1,87 @@\n+package gov.cancer.pageobject.helper;\n+\n+import java.util.regex.Pattern;\n+\n+import org.apache.poi.ss.formula.eval.NotImplementedException;\n+import org.openqa.selenium.WebElement;\n+\n+public class RelatedResource {\n+\n+\tWebElement element;\n+\n+\tpublic RelatedResource(WebElement element) {\n+\t\tthis.element = element;\n+\t}\n+\n+\tpublic Boolean isLinkElement() {\n+\t\tif(element != null) {\n+\t\t\treturn element.getTagName().equalsIgnoreCase(\"a\");\n+\t\t}\n+\t\telse\n+\t\t\treturn false;\n+\t}\n+\n+\tpublic String getLinkText() {\n+\t\tif(element != null) {\n+\t\t\treturn element.getText();\n+\t\t}\n+\t\telse\n+\t\t\treturn \"\";\n+\t}\n+\n+\n+\tpublic boolean isLinkTextBlank() {\n+\t\t \n+\t\tif (element.getText().isEmpty()) {\n+\t\t\t\n+\t\t\treturn false;\n+\t\t}\n+\t\telse {\n+\t\t\treturn true;\n+\t\t\t\n+\t\t}\n+\t\t\t\n+\t}\n+\t\n+\n+\tpublic boolean isLinkHrefBlank() {","path":"src/main/java/gov/cancer/pageobject/helper/RelatedResource.java","position":47,"original_position":47,"commit_id":"8c7810442b95a7171b9601890e65bf67c6b46458","original_commit_id":"8c7810442b95a7171b9601890e65bf67c6b46458","user":{"login":"popkhadzeg","id":46539699,"node_id":"MDQ6VXNlcjQ2NTM5Njk5","avatar_url":"https://avatars1.githubusercontent.com/u/46539699?v=4","gravatar_id":"","url":"https://api.github.com/users/popkhadzeg","html_url":"https://github.com/popkhadzeg","followers_url":"https://api.github.com/users/popkhadzeg/followers","following_url":"https://api.github.com/users/popkhadzeg/following{/other_user}","gists_url":"https://api.github.com/users/popkhadzeg/gists{/gist_id}","starred_url":"https://api.github.com/users/popkhadzeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popkhadzeg/subscriptions","organizations_url":"https://api.github.com/users/popkhadzeg/orgs","repos_url":"https://api.github.com/users/popkhadzeg/repos","events_url":"https://api.github.com/users/popkhadzeg/events{/privacy}","received_events_url":"https://api.github.com/users/popkhadzeg/received_events","type":"User","site_admin":false},"body":"This is modified","created_at":"2019-03-19T15:21:54Z","updated_at":"2019-03-19T15:21:55Z","html_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa/pull/1#discussion_r266945724","pull_request_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/comments/266945724"},"html":{"href":"https://github.com/NCIOCPL/cgov-digital-platform-qa/pull/1#discussion_r266945724"},"pull_request":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/1"}},"in_reply_to_id":266616881},"pull_request":{"url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/1","id":256863310,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU2ODYzMzEw","html_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa/pull/1","diff_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa/pull/1.diff","patch_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa/pull/1.patch","issue_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues/1","number":1,"state":"open","locked":false,"title":"Related resources tests","user":{"login":"popkhadzeg","id":46539699,"node_id":"MDQ6VXNlcjQ2NTM5Njk5","avatar_url":"https://avatars1.githubusercontent.com/u/46539699?v=4","gravatar_id":"","url":"https://api.github.com/users/popkhadzeg","html_url":"https://github.com/popkhadzeg","followers_url":"https://api.github.com/users/popkhadzeg/followers","following_url":"https://api.github.com/users/popkhadzeg/following{/other_user}","gists_url":"https://api.github.com/users/popkhadzeg/gists{/gist_id}","starred_url":"https://api.github.com/users/popkhadzeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popkhadzeg/subscriptions","organizations_url":"https://api.github.com/users/popkhadzeg/orgs","repos_url":"https://api.github.com/users/popkhadzeg/repos","events_url":"https://api.github.com/users/popkhadzeg/events{/privacy}","received_events_url":"https://api.github.com/users/popkhadzeg/received_events","type":"User","site_admin":false},"body":"Committed changes to related resources test","created_at":"2019-02-27T22:27:02Z","updated_at":"2019-03-19T15:21:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d8ffb6f1a08dc002f8eff322c52069cfe06a21d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/1/commits","review_comments_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/1/comments","review_comment_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues/1/comments","statuses_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/statuses/8c7810442b95a7171b9601890e65bf67c6b46458","head":{"label":"NCIOCPL:related-resources-tests","ref":"related-resources-tests","sha":"8c7810442b95a7171b9601890e65bf67c6b46458","user":{"login":"NCIOCPL","id":22624912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNjI0OTEy","avatar_url":"https://avatars3.githubusercontent.com/u/22624912?v=4","gravatar_id":"","url":"https://api.github.com/users/NCIOCPL","html_url":"https://github.com/NCIOCPL","followers_url":"https://api.github.com/users/NCIOCPL/followers","following_url":"https://api.github.com/users/NCIOCPL/following{/other_user}","gists_url":"https://api.github.com/users/NCIOCPL/gists{/gist_id}","starred_url":"https://api.github.com/users/NCIOCPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCIOCPL/subscriptions","organizations_url":"https://api.github.com/users/NCIOCPL/orgs","repos_url":"https://api.github.com/users/NCIOCPL/repos","events_url":"https://api.github.com/users/NCIOCPL/events{/privacy}","received_events_url":"https://api.github.com/users/NCIOCPL/received_events","type":"Organization","site_admin":false},"repo":{"id":169783435,"node_id":"MDEwOlJlcG9zaXRvcnkxNjk3ODM0MzU=","name":"cgov-digital-platform-qa","full_name":"NCIOCPL/cgov-digital-platform-qa","private":false,"owner":{"login":"NCIOCPL","id":22624912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNjI0OTEy","avatar_url":"https://avatars3.githubusercontent.com/u/22624912?v=4","gravatar_id":"","url":"https://api.github.com/users/NCIOCPL","html_url":"https://github.com/NCIOCPL","followers_url":"https://api.github.com/users/NCIOCPL/followers","following_url":"https://api.github.com/users/NCIOCPL/following{/other_user}","gists_url":"https://api.github.com/users/NCIOCPL/gists{/gist_id}","starred_url":"https://api.github.com/users/NCIOCPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCIOCPL/subscriptions","organizations_url":"https://api.github.com/users/NCIOCPL/orgs","repos_url":"https://api.github.com/users/NCIOCPL/repos","events_url":"https://api.github.com/users/NCIOCPL/events{/privacy}","received_events_url":"https://api.github.com/users/NCIOCPL/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa","description":"QA Automation framework for the Cancer Gov Digital Platform","fork":false,"url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa","forks_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/forks","keys_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/teams","hooks_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/hooks","issue_events_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues/events{/number}","events_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/events","assignees_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/assignees{/user}","branches_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/branches{/branch}","tags_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/tags","blobs_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/refs{/sha}","trees_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/statuses/{sha}","languages_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/languages","stargazers_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/stargazers","contributors_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/contributors","subscribers_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/subscribers","subscription_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/subscription","commits_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/commits{/sha}","git_commits_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/commits{/sha}","comments_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/comments{/number}","issue_comment_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues/comments{/number}","contents_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/contents/{+path}","compare_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/merges","archive_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/downloads","issues_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues{/number}","pulls_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls{/number}","milestones_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/milestones{/number}","notifications_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/labels{/name}","releases_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/releases{/id}","deployments_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/deployments","created_at":"2019-02-08T18:53:44Z","updated_at":"2019-02-08T18:54:46Z","pushed_at":"2019-02-27T22:27:02Z","git_url":"git://github.com/NCIOCPL/cgov-digital-platform-qa.git","ssh_url":"git@github.com:NCIOCPL/cgov-digital-platform-qa.git","clone_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa.git","svn_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa","homepage":null,"size":25143,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"NCIOCPL:master","ref":"master","sha":"c0b4761c73cd078167b1a339b145f6c26c2ecefb","user":{"login":"NCIOCPL","id":22624912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNjI0OTEy","avatar_url":"https://avatars3.githubusercontent.com/u/22624912?v=4","gravatar_id":"","url":"https://api.github.com/users/NCIOCPL","html_url":"https://github.com/NCIOCPL","followers_url":"https://api.github.com/users/NCIOCPL/followers","following_url":"https://api.github.com/users/NCIOCPL/following{/other_user}","gists_url":"https://api.github.com/users/NCIOCPL/gists{/gist_id}","starred_url":"https://api.github.com/users/NCIOCPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCIOCPL/subscriptions","organizations_url":"https://api.github.com/users/NCIOCPL/orgs","repos_url":"https://api.github.com/users/NCIOCPL/repos","events_url":"https://api.github.com/users/NCIOCPL/events{/privacy}","received_events_url":"https://api.github.com/users/NCIOCPL/received_events","type":"Organization","site_admin":false},"repo":{"id":169783435,"node_id":"MDEwOlJlcG9zaXRvcnkxNjk3ODM0MzU=","name":"cgov-digital-platform-qa","full_name":"NCIOCPL/cgov-digital-platform-qa","private":false,"owner":{"login":"NCIOCPL","id":22624912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNjI0OTEy","avatar_url":"https://avatars3.githubusercontent.com/u/22624912?v=4","gravatar_id":"","url":"https://api.github.com/users/NCIOCPL","html_url":"https://github.com/NCIOCPL","followers_url":"https://api.github.com/users/NCIOCPL/followers","following_url":"https://api.github.com/users/NCIOCPL/following{/other_user}","gists_url":"https://api.github.com/users/NCIOCPL/gists{/gist_id}","starred_url":"https://api.github.com/users/NCIOCPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCIOCPL/subscriptions","organizations_url":"https://api.github.com/users/NCIOCPL/orgs","repos_url":"https://api.github.com/users/NCIOCPL/repos","events_url":"https://api.github.com/users/NCIOCPL/events{/privacy}","received_events_url":"https://api.github.com/users/NCIOCPL/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa","description":"QA Automation framework for the Cancer Gov Digital Platform","fork":false,"url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa","forks_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/forks","keys_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/teams","hooks_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/hooks","issue_events_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues/events{/number}","events_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/events","assignees_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/assignees{/user}","branches_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/branches{/branch}","tags_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/tags","blobs_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/refs{/sha}","trees_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/statuses/{sha}","languages_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/languages","stargazers_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/stargazers","contributors_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/contributors","subscribers_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/subscribers","subscription_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/subscription","commits_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/commits{/sha}","git_commits_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/git/commits{/sha}","comments_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/comments{/number}","issue_comment_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues/comments{/number}","contents_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/contents/{+path}","compare_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/merges","archive_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/downloads","issues_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues{/number}","pulls_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls{/number}","milestones_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/milestones{/number}","notifications_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/labels{/name}","releases_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/releases{/id}","deployments_url":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/deployments","created_at":"2019-02-08T18:53:44Z","updated_at":"2019-02-08T18:54:46Z","pushed_at":"2019-02-27T22:27:02Z","git_url":"git://github.com/NCIOCPL/cgov-digital-platform-qa.git","ssh_url":"git@github.com:NCIOCPL/cgov-digital-platform-qa.git","clone_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa.git","svn_url":"https://github.com/NCIOCPL/cgov-digital-platform-qa","homepage":null,"size":25143,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/1"},"html":{"href":"https://github.com/NCIOCPL/cgov-digital-platform-qa/pull/1"},"issue":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues/1"},"comments":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/NCIOCPL/cgov-digital-platform-qa/statuses/8c7810442b95a7171b9601890e65bf67c6b46458"}},"author_association":"NONE"}}
{"actor":{"display_login":"popkhadzeg"}}