{"action":"created","comment":{"url":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/comments/244282409","pull_request_review_id":188233407,"id":244282409,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDI4MjQwOQ==","diff_hunk":"@@ -1,18 +1,18 @@\n package io.customertimes.automation.pages;\n \n-import com.codeborne.selenide.Condition;\n import com.codeborne.selenide.SelenideElement;\n-import org.openqa.selenium.By;\n-\n import static com.codeborne.selenide.Selenide.$;\n \n-public class Case extends Page{\n+public class Case extends Base {\n     private SelenideElement caseDetails = $(\"a[title = \\\"Details\\\"]\");\n \n-    @Override\n-    public boolean pageIsOpened() {\n-       return caseDetails.waitUntil(Condition.exist, 10000).exists();\n+\n+    public Case() {\n+        this.isOpened = (pageIsOpened(caseDetails));\n     }\n \n \n+    public boolean isOpened() {","path":"src/main/java/io/customertimes/automation/pages/Case.java","position":22,"original_position":22,"commit_id":"b0c9f8f361b901ed81933def34e9d36d59d31514","original_commit_id":"b0c9f8f361b901ed81933def34e9d36d59d31514","user":{"login":"TyshchenkoRoma","id":17428479,"node_id":"MDQ6VXNlcjE3NDI4NDc5","avatar_url":"https://avatars3.githubusercontent.com/u/17428479?v=4","gravatar_id":"","url":"https://api.github.com/users/TyshchenkoRoma","html_url":"https://github.com/TyshchenkoRoma","followers_url":"https://api.github.com/users/TyshchenkoRoma/followers","following_url":"https://api.github.com/users/TyshchenkoRoma/following{/other_user}","gists_url":"https://api.github.com/users/TyshchenkoRoma/gists{/gist_id}","starred_url":"https://api.github.com/users/TyshchenkoRoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyshchenkoRoma/subscriptions","organizations_url":"https://api.github.com/users/TyshchenkoRoma/orgs","repos_url":"https://api.github.com/users/TyshchenkoRoma/repos","events_url":"https://api.github.com/users/TyshchenkoRoma/events{/privacy}","received_events_url":"https://api.github.com/users/TyshchenkoRoma/received_events","type":"User","site_admin":false},"body":"is displayed\r\n","created_at":"2018-12-28T08:38:58Z","updated_at":"2018-12-28T08:49:11Z","html_url":"https://github.com/dlatyshev/Safety_auto/pull/2#discussion_r244282409","pull_request_url":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/comments/244282409"},"html":{"href":"https://github.com/dlatyshev/Safety_auto/pull/2#discussion_r244282409"},"pull_request":{"href":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/2"}},"in_reply_to_id":244273751},"pull_request":{"url":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/2","id":241176715,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMTc2NzE1","html_url":"https://github.com/dlatyshev/Safety_auto/pull/2","diff_url":"https://github.com/dlatyshev/Safety_auto/pull/2.diff","patch_url":"https://github.com/dlatyshev/Safety_auto/pull/2.patch","issue_url":"https://api.github.com/repos/dlatyshev/Safety_auto/issues/2","number":2,"state":"open","locked":false,"title":"Changing validation approach","user":{"login":"dlatyshev","id":42830187,"node_id":"MDQ6VXNlcjQyODMwMTg3","avatar_url":"https://avatars2.githubusercontent.com/u/42830187?v=4","gravatar_id":"","url":"https://api.github.com/users/dlatyshev","html_url":"https://github.com/dlatyshev","followers_url":"https://api.github.com/users/dlatyshev/followers","following_url":"https://api.github.com/users/dlatyshev/following{/other_user}","gists_url":"https://api.github.com/users/dlatyshev/gists{/gist_id}","starred_url":"https://api.github.com/users/dlatyshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlatyshev/subscriptions","organizations_url":"https://api.github.com/users/dlatyshev/orgs","repos_url":"https://api.github.com/users/dlatyshev/repos","events_url":"https://api.github.com/users/dlatyshev/events{/privacy}","received_events_url":"https://api.github.com/users/dlatyshev/received_events","type":"User","site_admin":false},"body":"Delete isOpened() methods from all classes. Rename Page to Base. Create general method to validate if a page was opened using a constructor.","created_at":"2018-12-27T15:41:00Z","updated_at":"2018-12-28T08:49:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b41700fa7add5c012ceb7e561af6c0c3f39f6c67","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/2/commits","review_comments_url":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/2/comments","review_comment_url":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dlatyshev/Safety_auto/issues/2/comments","statuses_url":"https://api.github.com/repos/dlatyshev/Safety_auto/statuses/b0c9f8f361b901ed81933def34e9d36d59d31514","head":{"label":"dlatyshev:TestBranch","ref":"TestBranch","sha":"b0c9f8f361b901ed81933def34e9d36d59d31514","user":{"login":"dlatyshev","id":42830187,"node_id":"MDQ6VXNlcjQyODMwMTg3","avatar_url":"https://avatars2.githubusercontent.com/u/42830187?v=4","gravatar_id":"","url":"https://api.github.com/users/dlatyshev","html_url":"https://github.com/dlatyshev","followers_url":"https://api.github.com/users/dlatyshev/followers","following_url":"https://api.github.com/users/dlatyshev/following{/other_user}","gists_url":"https://api.github.com/users/dlatyshev/gists{/gist_id}","starred_url":"https://api.github.com/users/dlatyshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlatyshev/subscriptions","organizations_url":"https://api.github.com/users/dlatyshev/orgs","repos_url":"https://api.github.com/users/dlatyshev/repos","events_url":"https://api.github.com/users/dlatyshev/events{/privacy}","received_events_url":"https://api.github.com/users/dlatyshev/received_events","type":"User","site_admin":false},"repo":{"id":162587656,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI1ODc2NTY=","name":"Safety_auto","full_name":"dlatyshev/Safety_auto","private":false,"owner":{"login":"dlatyshev","id":42830187,"node_id":"MDQ6VXNlcjQyODMwMTg3","avatar_url":"https://avatars2.githubusercontent.com/u/42830187?v=4","gravatar_id":"","url":"https://api.github.com/users/dlatyshev","html_url":"https://github.com/dlatyshev","followers_url":"https://api.github.com/users/dlatyshev/followers","following_url":"https://api.github.com/users/dlatyshev/following{/other_user}","gists_url":"https://api.github.com/users/dlatyshev/gists{/gist_id}","starred_url":"https://api.github.com/users/dlatyshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlatyshev/subscriptions","organizations_url":"https://api.github.com/users/dlatyshev/orgs","repos_url":"https://api.github.com/users/dlatyshev/repos","events_url":"https://api.github.com/users/dlatyshev/events{/privacy}","received_events_url":"https://api.github.com/users/dlatyshev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dlatyshev/Safety_auto","description":null,"fork":false,"url":"https://api.github.com/repos/dlatyshev/Safety_auto","forks_url":"https://api.github.com/repos/dlatyshev/Safety_auto/forks","keys_url":"https://api.github.com/repos/dlatyshev/Safety_auto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlatyshev/Safety_auto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlatyshev/Safety_auto/teams","hooks_url":"https://api.github.com/repos/dlatyshev/Safety_auto/hooks","issue_events_url":"https://api.github.com/repos/dlatyshev/Safety_auto/issues/events{/number}","events_url":"https://api.github.com/repos/dlatyshev/Safety_auto/events","assignees_url":"https://api.github.com/repos/dlatyshev/Safety_auto/assignees{/user}","branches_url":"https://api.github.com/repos/dlatyshev/Safety_auto/branches{/branch}","tags_url":"https://api.github.com/repos/dlatyshev/Safety_auto/tags","blobs_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlatyshev/Safety_auto/statuses/{sha}","languages_url":"https://api.github.com/repos/dlatyshev/Safety_auto/languages","stargazers_url":"https://api.github.com/repos/dlatyshev/Safety_auto/stargazers","contributors_url":"https://api.github.com/repos/dlatyshev/Safety_auto/contributors","subscribers_url":"https://api.github.com/repos/dlatyshev/Safety_auto/subscribers","subscription_url":"https://api.github.com/repos/dlatyshev/Safety_auto/subscription","commits_url":"https://api.github.com/repos/dlatyshev/Safety_auto/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlatyshev/Safety_auto/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlatyshev/Safety_auto/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlatyshev/Safety_auto/contents/{+path}","compare_url":"https://api.github.com/repos/dlatyshev/Safety_auto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlatyshev/Safety_auto/merges","archive_url":"https://api.github.com/repos/dlatyshev/Safety_auto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlatyshev/Safety_auto/downloads","issues_url":"https://api.github.com/repos/dlatyshev/Safety_auto/issues{/number}","pulls_url":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls{/number}","milestones_url":"https://api.github.com/repos/dlatyshev/Safety_auto/milestones{/number}","notifications_url":"https://api.github.com/repos/dlatyshev/Safety_auto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlatyshev/Safety_auto/labels{/name}","releases_url":"https://api.github.com/repos/dlatyshev/Safety_auto/releases{/id}","deployments_url":"https://api.github.com/repos/dlatyshev/Safety_auto/deployments","created_at":"2018-12-20T14:05:53Z","updated_at":"2018-12-27T13:39:52Z","pushed_at":"2018-12-27T15:41:00Z","git_url":"git://github.com/dlatyshev/Safety_auto.git","ssh_url":"git@github.com:dlatyshev/Safety_auto.git","clone_url":"https://github.com/dlatyshev/Safety_auto.git","svn_url":"https://github.com/dlatyshev/Safety_auto","homepage":null,"size":27,"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":"dlatyshev:master","ref":"master","sha":"8a3461e84df944cc712258bc48a6311128fdc728","user":{"login":"dlatyshev","id":42830187,"node_id":"MDQ6VXNlcjQyODMwMTg3","avatar_url":"https://avatars2.githubusercontent.com/u/42830187?v=4","gravatar_id":"","url":"https://api.github.com/users/dlatyshev","html_url":"https://github.com/dlatyshev","followers_url":"https://api.github.com/users/dlatyshev/followers","following_url":"https://api.github.com/users/dlatyshev/following{/other_user}","gists_url":"https://api.github.com/users/dlatyshev/gists{/gist_id}","starred_url":"https://api.github.com/users/dlatyshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlatyshev/subscriptions","organizations_url":"https://api.github.com/users/dlatyshev/orgs","repos_url":"https://api.github.com/users/dlatyshev/repos","events_url":"https://api.github.com/users/dlatyshev/events{/privacy}","received_events_url":"https://api.github.com/users/dlatyshev/received_events","type":"User","site_admin":false},"repo":{"id":162587656,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI1ODc2NTY=","name":"Safety_auto","full_name":"dlatyshev/Safety_auto","private":false,"owner":{"login":"dlatyshev","id":42830187,"node_id":"MDQ6VXNlcjQyODMwMTg3","avatar_url":"https://avatars2.githubusercontent.com/u/42830187?v=4","gravatar_id":"","url":"https://api.github.com/users/dlatyshev","html_url":"https://github.com/dlatyshev","followers_url":"https://api.github.com/users/dlatyshev/followers","following_url":"https://api.github.com/users/dlatyshev/following{/other_user}","gists_url":"https://api.github.com/users/dlatyshev/gists{/gist_id}","starred_url":"https://api.github.com/users/dlatyshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlatyshev/subscriptions","organizations_url":"https://api.github.com/users/dlatyshev/orgs","repos_url":"https://api.github.com/users/dlatyshev/repos","events_url":"https://api.github.com/users/dlatyshev/events{/privacy}","received_events_url":"https://api.github.com/users/dlatyshev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dlatyshev/Safety_auto","description":null,"fork":false,"url":"https://api.github.com/repos/dlatyshev/Safety_auto","forks_url":"https://api.github.com/repos/dlatyshev/Safety_auto/forks","keys_url":"https://api.github.com/repos/dlatyshev/Safety_auto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlatyshev/Safety_auto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlatyshev/Safety_auto/teams","hooks_url":"https://api.github.com/repos/dlatyshev/Safety_auto/hooks","issue_events_url":"https://api.github.com/repos/dlatyshev/Safety_auto/issues/events{/number}","events_url":"https://api.github.com/repos/dlatyshev/Safety_auto/events","assignees_url":"https://api.github.com/repos/dlatyshev/Safety_auto/assignees{/user}","branches_url":"https://api.github.com/repos/dlatyshev/Safety_auto/branches{/branch}","tags_url":"https://api.github.com/repos/dlatyshev/Safety_auto/tags","blobs_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlatyshev/Safety_auto/statuses/{sha}","languages_url":"https://api.github.com/repos/dlatyshev/Safety_auto/languages","stargazers_url":"https://api.github.com/repos/dlatyshev/Safety_auto/stargazers","contributors_url":"https://api.github.com/repos/dlatyshev/Safety_auto/contributors","subscribers_url":"https://api.github.com/repos/dlatyshev/Safety_auto/subscribers","subscription_url":"https://api.github.com/repos/dlatyshev/Safety_auto/subscription","commits_url":"https://api.github.com/repos/dlatyshev/Safety_auto/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlatyshev/Safety_auto/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlatyshev/Safety_auto/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlatyshev/Safety_auto/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlatyshev/Safety_auto/contents/{+path}","compare_url":"https://api.github.com/repos/dlatyshev/Safety_auto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlatyshev/Safety_auto/merges","archive_url":"https://api.github.com/repos/dlatyshev/Safety_auto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlatyshev/Safety_auto/downloads","issues_url":"https://api.github.com/repos/dlatyshev/Safety_auto/issues{/number}","pulls_url":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls{/number}","milestones_url":"https://api.github.com/repos/dlatyshev/Safety_auto/milestones{/number}","notifications_url":"https://api.github.com/repos/dlatyshev/Safety_auto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlatyshev/Safety_auto/labels{/name}","releases_url":"https://api.github.com/repos/dlatyshev/Safety_auto/releases{/id}","deployments_url":"https://api.github.com/repos/dlatyshev/Safety_auto/deployments","created_at":"2018-12-20T14:05:53Z","updated_at":"2018-12-27T13:39:52Z","pushed_at":"2018-12-27T15:41:00Z","git_url":"git://github.com/dlatyshev/Safety_auto.git","ssh_url":"git@github.com:dlatyshev/Safety_auto.git","clone_url":"https://github.com/dlatyshev/Safety_auto.git","svn_url":"https://github.com/dlatyshev/Safety_auto","homepage":null,"size":27,"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/dlatyshev/Safety_auto/pulls/2"},"html":{"href":"https://github.com/dlatyshev/Safety_auto/pull/2"},"issue":{"href":"https://api.github.com/repos/dlatyshev/Safety_auto/issues/2"},"comments":{"href":"https://api.github.com/repos/dlatyshev/Safety_auto/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dlatyshev/Safety_auto/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/dlatyshev/Safety_auto/statuses/b0c9f8f361b901ed81933def34e9d36d59d31514"}},"author_association":"OWNER"}}
{"actor":{"display_login":"TyshchenkoRoma"}}