{"action":"created","comment":{"url":"https://api.github.com/repos/lvrub/Comments/pulls/comments/170465566","pull_request_review_id":99154442,"id":170465566,"diff_hunk":"@@ -0,0 +1,46 @@\n+package net.commments.ft;\n+\n+import net.commments.object.BCommentPage;\n+import net.commments.object.BCommentWindow;\n+import net.commments.object.CommentPage;\n+import net.commments.object.CommentWindow;\n+import net.commments.selenium.CommentsDriver;\n+import org.testng.annotations.AfterMethod;\n+import org.testng.annotations.BeforeMethod;\n+import org.testng.annotations.Test;\n+\n+import static org.testng.Assert.assertEquals;\n+\n+public class Test22 {\n+    protected final CommentsDriver driver;\n+    private final CommentPage commentPage;\n+    private final CommentWindow commentWindow;\n+\n+    public Test22() {\n+        this.driver = new CommentsDriver();\n+        this.commentPage = new BCommentPage(this.driver);   /*why we  need it ?*/\n+        this.commentWindow = new BCommentWindow(this.driver);\n+    }\n+\n+    @Test\n+    public void test() {\n+        commentPage.open();\n+        commentPage.clickNewComment();\n+        commentWindow.fillCommentTextField(\"!@#$%^&*+_)(*&\");\n+        commentWindow.saveComment();\n+        String errorText = commentWindow.showErrorMessage();\n+        assertEquals(errorText, \"The Comment Text field should contain alphanumeric characters only\");\n+    }\n+\n+    @BeforeMethod\n+    public void createDriver() {\n+        this.driver.define();\n+","path":"src/main/java/net/commments/ft/Test22.java","position":null,"original_position":38,"commit_id":"d1703a64d6c97d4c4f02f3ea47514d0a58f3c19a","original_commit_id":"d6b336e6c5fd522bac00261949ae912d37adf88a","user":{"login":"lvrub","id":36108931,"avatar_url":"https://avatars1.githubusercontent.com/u/36108931?v=4","gravatar_id":"","url":"https://api.github.com/users/lvrub","html_url":"https://github.com/lvrub","followers_url":"https://api.github.com/users/lvrub/followers","following_url":"https://api.github.com/users/lvrub/following{/other_user}","gists_url":"https://api.github.com/users/lvrub/gists{/gist_id}","starred_url":"https://api.github.com/users/lvrub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvrub/subscriptions","organizations_url":"https://api.github.com/users/lvrub/orgs","repos_url":"https://api.github.com/users/lvrub/repos","events_url":"https://api.github.com/users/lvrub/events{/privacy}","received_events_url":"https://api.github.com/users/lvrub/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-02-25T20:16:55Z","updated_at":"2018-02-25T20:16:55Z","html_url":"https://github.com/lvrub/Comments/pull/16#discussion_r170465566","pull_request_url":"https://api.github.com/repos/lvrub/Comments/pulls/16","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/lvrub/Comments/pulls/comments/170465566"},"html":{"href":"https://github.com/lvrub/Comments/pull/16#discussion_r170465566"},"pull_request":{"href":"https://api.github.com/repos/lvrub/Comments/pulls/16"}},"in_reply_to_id":170421200},"pull_request":{"url":"https://api.github.com/repos/lvrub/Comments/pulls/16","id":171175366,"html_url":"https://github.com/lvrub/Comments/pull/16","diff_url":"https://github.com/lvrub/Comments/pull/16.diff","patch_url":"https://github.com/lvrub/Comments/pull/16.patch","issue_url":"https://api.github.com/repos/lvrub/Comments/issues/16","number":16,"state":"open","locked":false,"title":"Page Objects are created . Test#22 is moved to Page Opject ","user":{"login":"lvrub","id":36108931,"avatar_url":"https://avatars1.githubusercontent.com/u/36108931?v=4","gravatar_id":"","url":"https://api.github.com/users/lvrub","html_url":"https://github.com/lvrub","followers_url":"https://api.github.com/users/lvrub/followers","following_url":"https://api.github.com/users/lvrub/following{/other_user}","gists_url":"https://api.github.com/users/lvrub/gists{/gist_id}","starred_url":"https://api.github.com/users/lvrub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvrub/subscriptions","organizations_url":"https://api.github.com/users/lvrub/orgs","repos_url":"https://api.github.com/users/lvrub/repos","events_url":"https://api.github.com/users/lvrub/events{/privacy}","received_events_url":"https://api.github.com/users/lvrub/received_events","type":"User","site_admin":false},"body":"@extsoft \r\n\r\nPlease review my Page Object structure\r\nTest#22 is moved to Page Object\r\n\r\n#15 \r\n","created_at":"2018-02-24T11:48:47Z","updated_at":"2018-02-25T20:16:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b47f624048db08fb508c7e4636c011154bb5da7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lvrub/Comments/pulls/16/commits","review_comments_url":"https://api.github.com/repos/lvrub/Comments/pulls/16/comments","review_comment_url":"https://api.github.com/repos/lvrub/Comments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lvrub/Comments/issues/16/comments","statuses_url":"https://api.github.com/repos/lvrub/Comments/statuses/d1703a64d6c97d4c4f02f3ea47514d0a58f3c19a","head":{"label":"lvrub:pageobjects","ref":"pageobjects","sha":"d1703a64d6c97d4c4f02f3ea47514d0a58f3c19a","user":{"login":"lvrub","id":36108931,"avatar_url":"https://avatars1.githubusercontent.com/u/36108931?v=4","gravatar_id":"","url":"https://api.github.com/users/lvrub","html_url":"https://github.com/lvrub","followers_url":"https://api.github.com/users/lvrub/followers","following_url":"https://api.github.com/users/lvrub/following{/other_user}","gists_url":"https://api.github.com/users/lvrub/gists{/gist_id}","starred_url":"https://api.github.com/users/lvrub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvrub/subscriptions","organizations_url":"https://api.github.com/users/lvrub/orgs","repos_url":"https://api.github.com/users/lvrub/repos","events_url":"https://api.github.com/users/lvrub/events{/privacy}","received_events_url":"https://api.github.com/users/lvrub/received_events","type":"User","site_admin":false},"repo":{"id":120878033,"name":"Comments","full_name":"lvrub/Comments","owner":{"login":"lvrub","id":36108931,"avatar_url":"https://avatars1.githubusercontent.com/u/36108931?v=4","gravatar_id":"","url":"https://api.github.com/users/lvrub","html_url":"https://github.com/lvrub","followers_url":"https://api.github.com/users/lvrub/followers","following_url":"https://api.github.com/users/lvrub/following{/other_user}","gists_url":"https://api.github.com/users/lvrub/gists{/gist_id}","starred_url":"https://api.github.com/users/lvrub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvrub/subscriptions","organizations_url":"https://api.github.com/users/lvrub/orgs","repos_url":"https://api.github.com/users/lvrub/repos","events_url":"https://api.github.com/users/lvrub/events{/privacy}","received_events_url":"https://api.github.com/users/lvrub/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lvrub/Comments","description":null,"fork":false,"url":"https://api.github.com/repos/lvrub/Comments","forks_url":"https://api.github.com/repos/lvrub/Comments/forks","keys_url":"https://api.github.com/repos/lvrub/Comments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lvrub/Comments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lvrub/Comments/teams","hooks_url":"https://api.github.com/repos/lvrub/Comments/hooks","issue_events_url":"https://api.github.com/repos/lvrub/Comments/issues/events{/number}","events_url":"https://api.github.com/repos/lvrub/Comments/events","assignees_url":"https://api.github.com/repos/lvrub/Comments/assignees{/user}","branches_url":"https://api.github.com/repos/lvrub/Comments/branches{/branch}","tags_url":"https://api.github.com/repos/lvrub/Comments/tags","blobs_url":"https://api.github.com/repos/lvrub/Comments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lvrub/Comments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lvrub/Comments/git/refs{/sha}","trees_url":"https://api.github.com/repos/lvrub/Comments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lvrub/Comments/statuses/{sha}","languages_url":"https://api.github.com/repos/lvrub/Comments/languages","stargazers_url":"https://api.github.com/repos/lvrub/Comments/stargazers","contributors_url":"https://api.github.com/repos/lvrub/Comments/contributors","subscribers_url":"https://api.github.com/repos/lvrub/Comments/subscribers","subscription_url":"https://api.github.com/repos/lvrub/Comments/subscription","commits_url":"https://api.github.com/repos/lvrub/Comments/commits{/sha}","git_commits_url":"https://api.github.com/repos/lvrub/Comments/git/commits{/sha}","comments_url":"https://api.github.com/repos/lvrub/Comments/comments{/number}","issue_comment_url":"https://api.github.com/repos/lvrub/Comments/issues/comments{/number}","contents_url":"https://api.github.com/repos/lvrub/Comments/contents/{+path}","compare_url":"https://api.github.com/repos/lvrub/Comments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lvrub/Comments/merges","archive_url":"https://api.github.com/repos/lvrub/Comments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lvrub/Comments/downloads","issues_url":"https://api.github.com/repos/lvrub/Comments/issues{/number}","pulls_url":"https://api.github.com/repos/lvrub/Comments/pulls{/number}","milestones_url":"https://api.github.com/repos/lvrub/Comments/milestones{/number}","notifications_url":"https://api.github.com/repos/lvrub/Comments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lvrub/Comments/labels{/name}","releases_url":"https://api.github.com/repos/lvrub/Comments/releases{/id}","deployments_url":"https://api.github.com/repos/lvrub/Comments/deployments","created_at":"2018-02-09T08:20:32Z","updated_at":"2018-02-11T18:44:17Z","pushed_at":"2018-02-25T20:00:23Z","git_url":"git://github.com/lvrub/Comments.git","ssh_url":"git@github.com:lvrub/Comments.git","clone_url":"https://github.com/lvrub/Comments.git","svn_url":"https://github.com/lvrub/Comments","homepage":null,"size":37,"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":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"lvrub:master","ref":"master","sha":"2c7f16df4ca3fc7b3e04aa456bb5e0dfd0dc762d","user":{"login":"lvrub","id":36108931,"avatar_url":"https://avatars1.githubusercontent.com/u/36108931?v=4","gravatar_id":"","url":"https://api.github.com/users/lvrub","html_url":"https://github.com/lvrub","followers_url":"https://api.github.com/users/lvrub/followers","following_url":"https://api.github.com/users/lvrub/following{/other_user}","gists_url":"https://api.github.com/users/lvrub/gists{/gist_id}","starred_url":"https://api.github.com/users/lvrub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvrub/subscriptions","organizations_url":"https://api.github.com/users/lvrub/orgs","repos_url":"https://api.github.com/users/lvrub/repos","events_url":"https://api.github.com/users/lvrub/events{/privacy}","received_events_url":"https://api.github.com/users/lvrub/received_events","type":"User","site_admin":false},"repo":{"id":120878033,"name":"Comments","full_name":"lvrub/Comments","owner":{"login":"lvrub","id":36108931,"avatar_url":"https://avatars1.githubusercontent.com/u/36108931?v=4","gravatar_id":"","url":"https://api.github.com/users/lvrub","html_url":"https://github.com/lvrub","followers_url":"https://api.github.com/users/lvrub/followers","following_url":"https://api.github.com/users/lvrub/following{/other_user}","gists_url":"https://api.github.com/users/lvrub/gists{/gist_id}","starred_url":"https://api.github.com/users/lvrub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvrub/subscriptions","organizations_url":"https://api.github.com/users/lvrub/orgs","repos_url":"https://api.github.com/users/lvrub/repos","events_url":"https://api.github.com/users/lvrub/events{/privacy}","received_events_url":"https://api.github.com/users/lvrub/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lvrub/Comments","description":null,"fork":false,"url":"https://api.github.com/repos/lvrub/Comments","forks_url":"https://api.github.com/repos/lvrub/Comments/forks","keys_url":"https://api.github.com/repos/lvrub/Comments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lvrub/Comments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lvrub/Comments/teams","hooks_url":"https://api.github.com/repos/lvrub/Comments/hooks","issue_events_url":"https://api.github.com/repos/lvrub/Comments/issues/events{/number}","events_url":"https://api.github.com/repos/lvrub/Comments/events","assignees_url":"https://api.github.com/repos/lvrub/Comments/assignees{/user}","branches_url":"https://api.github.com/repos/lvrub/Comments/branches{/branch}","tags_url":"https://api.github.com/repos/lvrub/Comments/tags","blobs_url":"https://api.github.com/repos/lvrub/Comments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lvrub/Comments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lvrub/Comments/git/refs{/sha}","trees_url":"https://api.github.com/repos/lvrub/Comments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lvrub/Comments/statuses/{sha}","languages_url":"https://api.github.com/repos/lvrub/Comments/languages","stargazers_url":"https://api.github.com/repos/lvrub/Comments/stargazers","contributors_url":"https://api.github.com/repos/lvrub/Comments/contributors","subscribers_url":"https://api.github.com/repos/lvrub/Comments/subscribers","subscription_url":"https://api.github.com/repos/lvrub/Comments/subscription","commits_url":"https://api.github.com/repos/lvrub/Comments/commits{/sha}","git_commits_url":"https://api.github.com/repos/lvrub/Comments/git/commits{/sha}","comments_url":"https://api.github.com/repos/lvrub/Comments/comments{/number}","issue_comment_url":"https://api.github.com/repos/lvrub/Comments/issues/comments{/number}","contents_url":"https://api.github.com/repos/lvrub/Comments/contents/{+path}","compare_url":"https://api.github.com/repos/lvrub/Comments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lvrub/Comments/merges","archive_url":"https://api.github.com/repos/lvrub/Comments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lvrub/Comments/downloads","issues_url":"https://api.github.com/repos/lvrub/Comments/issues{/number}","pulls_url":"https://api.github.com/repos/lvrub/Comments/pulls{/number}","milestones_url":"https://api.github.com/repos/lvrub/Comments/milestones{/number}","notifications_url":"https://api.github.com/repos/lvrub/Comments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lvrub/Comments/labels{/name}","releases_url":"https://api.github.com/repos/lvrub/Comments/releases{/id}","deployments_url":"https://api.github.com/repos/lvrub/Comments/deployments","created_at":"2018-02-09T08:20:32Z","updated_at":"2018-02-11T18:44:17Z","pushed_at":"2018-02-25T20:00:23Z","git_url":"git://github.com/lvrub/Comments.git","ssh_url":"git@github.com:lvrub/Comments.git","clone_url":"https://github.com/lvrub/Comments.git","svn_url":"https://github.com/lvrub/Comments","homepage":null,"size":37,"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":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lvrub/Comments/pulls/16"},"html":{"href":"https://github.com/lvrub/Comments/pull/16"},"issue":{"href":"https://api.github.com/repos/lvrub/Comments/issues/16"},"comments":{"href":"https://api.github.com/repos/lvrub/Comments/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/lvrub/Comments/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/lvrub/Comments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lvrub/Comments/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/lvrub/Comments/statuses/d1703a64d6c97d4c4f02f3ea47514d0a58f3c19a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"lvrub"}}