{"action":"created","comment":{"url":"https://api.github.com/repos/akaj-team/selenium-test/pulls/comments/217083735","pull_request_review_id":154713893,"id":217083735,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzA4MzczNQ==","diff_hunk":"@@ -0,0 +1,107 @@\n+package stepdefs;\n+\n+import cucumber.api.java8.En;\n+import org.openqa.selenium.By;\n+import org.openqa.selenium.JavascriptExecutor;\n+import org.openqa.selenium.WebDriver;\n+import org.openqa.selenium.support.ui.ExpectedConditions;\n+import org.openqa.selenium.support.ui.WebDriverWait;\n+import org.testng.Assert;\n+import vn.asiantech.base.DriverBase;\n+import vn.asiantech.page.TimeSheetOthers;\n+\n+public class TimeSheetOthersDefinitions extends DriverBase implements En {\n+    private TimeSheetOthers timeSheetOthers;\n+    private WebDriver driver;\n+\n+    public TimeSheetOthersDefinitions() {\n+        try {\n+            driver = getDriver();\n+        } catch (Exception e) {\n+            e.printStackTrace();\n+        }\n+\n+        Given(\"^I move to timeSheet of others page$\", () -> {\n+            driver.get(\"http://portal-stg.asiantech.vn/timesheet/approval\");\n+            timeSheetOthers = initPage(driver, TimeSheetOthers.class);\n+            new WebDriverWait(driver, 10).until(","path":"src/test/java/stepdefs/TimeSheetOthersDefinitions.java","position":27,"original_position":27,"commit_id":"984da69e267be8a18923010d6d112d59099b9d50","original_commit_id":"984da69e267be8a18923010d6d112d59099b9d50","user":{"login":"at-vinhhuynh","id":11311731,"node_id":"MDQ6VXNlcjExMzExNzMx","avatar_url":"https://avatars1.githubusercontent.com/u/11311731?v=4","gravatar_id":"","url":"https://api.github.com/users/at-vinhhuynh","html_url":"https://github.com/at-vinhhuynh","followers_url":"https://api.github.com/users/at-vinhhuynh/followers","following_url":"https://api.github.com/users/at-vinhhuynh/following{/other_user}","gists_url":"https://api.github.com/users/at-vinhhuynh/gists{/gist_id}","starred_url":"https://api.github.com/users/at-vinhhuynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-vinhhuynh/subscriptions","organizations_url":"https://api.github.com/users/at-vinhhuynh/orgs","repos_url":"https://api.github.com/users/at-vinhhuynh/repos","events_url":"https://api.github.com/users/at-vinhhuynh/events{/privacy}","received_events_url":"https://api.github.com/users/at-vinhhuynh/received_events","type":"User","site_admin":false},"body":"<table data-meta=\"generated_by_danger\">\n  <tbody>\n    <tr>\n      <td>:warning:</td>\n      <td width=\"100%\" data-sticky=\"false\"><span data-href=\"https://github.com/akaj-team/selenium-test/blob/984da69e267be8a18923010d6d112d59099b9d50/src/test/java/stepdefs/TimeSheetOthersDefinitions.java#L27\"></span>‘10’ is a magic number.</td>\n    </tr>\n  </tbody>\n</table>\n\n\n\n","created_at":"2018-09-12T15:38:02Z","updated_at":"2018-09-12T15:38:02Z","html_url":"https://github.com/akaj-team/selenium-test/pull/8#discussion_r217083735","pull_request_url":"https://api.github.com/repos/akaj-team/selenium-test/pulls/8","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/akaj-team/selenium-test/pulls/comments/217083735"},"html":{"href":"https://github.com/akaj-team/selenium-test/pull/8#discussion_r217083735"},"pull_request":{"href":"https://api.github.com/repos/akaj-team/selenium-test/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/akaj-team/selenium-test/pulls/8","id":213793473,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNzkzNDcz","html_url":"https://github.com/akaj-team/selenium-test/pull/8","diff_url":"https://github.com/akaj-team/selenium-test/pull/8.diff","patch_url":"https://github.com/akaj-team/selenium-test/pull/8.patch","issue_url":"https://api.github.com/repos/akaj-team/selenium-test/issues/8","number":8,"state":"open","locked":false,"title":"Feature - TimeSheet others page","user":{"login":"at-trungnguyen","id":11608143,"node_id":"MDQ6VXNlcjExNjA4MTQz","avatar_url":"https://avatars3.githubusercontent.com/u/11608143?v=4","gravatar_id":"","url":"https://api.github.com/users/at-trungnguyen","html_url":"https://github.com/at-trungnguyen","followers_url":"https://api.github.com/users/at-trungnguyen/followers","following_url":"https://api.github.com/users/at-trungnguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-trungnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-trungnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-trungnguyen/subscriptions","organizations_url":"https://api.github.com/users/at-trungnguyen/orgs","repos_url":"https://api.github.com/users/at-trungnguyen/repos","events_url":"https://api.github.com/users/at-trungnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-trungnguyen/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-07T01:35:27Z","updated_at":"2018-09-12T15:38:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87b4bb5290299aebbbb6fceb478e353b15a1d639","assignee":{"login":"at-trungnguyen","id":11608143,"node_id":"MDQ6VXNlcjExNjA4MTQz","avatar_url":"https://avatars3.githubusercontent.com/u/11608143?v=4","gravatar_id":"","url":"https://api.github.com/users/at-trungnguyen","html_url":"https://github.com/at-trungnguyen","followers_url":"https://api.github.com/users/at-trungnguyen/followers","following_url":"https://api.github.com/users/at-trungnguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-trungnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-trungnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-trungnguyen/subscriptions","organizations_url":"https://api.github.com/users/at-trungnguyen/orgs","repos_url":"https://api.github.com/users/at-trungnguyen/repos","events_url":"https://api.github.com/users/at-trungnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-trungnguyen/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-trungnguyen","id":11608143,"node_id":"MDQ6VXNlcjExNjA4MTQz","avatar_url":"https://avatars3.githubusercontent.com/u/11608143?v=4","gravatar_id":"","url":"https://api.github.com/users/at-trungnguyen","html_url":"https://github.com/at-trungnguyen","followers_url":"https://api.github.com/users/at-trungnguyen/followers","following_url":"https://api.github.com/users/at-trungnguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-trungnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-trungnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-trungnguyen/subscriptions","organizations_url":"https://api.github.com/users/at-trungnguyen/orgs","repos_url":"https://api.github.com/users/at-trungnguyen/repos","events_url":"https://api.github.com/users/at-trungnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-trungnguyen/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1034126469,"node_id":"MDU6TGFiZWwxMDM0MTI2NDY5","url":"https://api.github.com/repos/akaj-team/selenium-test/labels/[status]%20In-Progress","name":"[status] In-Progress","color":"3a57e8","default":false},{"id":1034126467,"node_id":"MDU6TGFiZWwxMDM0MTI2NDY3","url":"https://api.github.com/repos/akaj-team/selenium-test/labels/[type]%20Task","name":"[type] Task","color":"96dfea","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/akaj-team/selenium-test/pulls/8/commits","review_comments_url":"https://api.github.com/repos/akaj-team/selenium-test/pulls/8/comments","review_comment_url":"https://api.github.com/repos/akaj-team/selenium-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akaj-team/selenium-test/issues/8/comments","statuses_url":"https://api.github.com/repos/akaj-team/selenium-test/statuses/984da69e267be8a18923010d6d112d59099b9d50","head":{"label":"akaj-team:feature/timesheet_others","ref":"feature/timesheet_others","sha":"984da69e267be8a18923010d6d112d59099b9d50","user":{"login":"akaj-team","id":33055357,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMDU1MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/33055357?v=4","gravatar_id":"","url":"https://api.github.com/users/akaj-team","html_url":"https://github.com/akaj-team","followers_url":"https://api.github.com/users/akaj-team/followers","following_url":"https://api.github.com/users/akaj-team/following{/other_user}","gists_url":"https://api.github.com/users/akaj-team/gists{/gist_id}","starred_url":"https://api.github.com/users/akaj-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaj-team/subscriptions","organizations_url":"https://api.github.com/users/akaj-team/orgs","repos_url":"https://api.github.com/users/akaj-team/repos","events_url":"https://api.github.com/users/akaj-team/events{/privacy}","received_events_url":"https://api.github.com/users/akaj-team/received_events","type":"Organization","site_admin":false},"repo":{"id":145970870,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU5NzA4NzA=","name":"selenium-test","full_name":"akaj-team/selenium-test","owner":{"login":"akaj-team","id":33055357,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMDU1MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/33055357?v=4","gravatar_id":"","url":"https://api.github.com/users/akaj-team","html_url":"https://github.com/akaj-team","followers_url":"https://api.github.com/users/akaj-team/followers","following_url":"https://api.github.com/users/akaj-team/following{/other_user}","gists_url":"https://api.github.com/users/akaj-team/gists{/gist_id}","starred_url":"https://api.github.com/users/akaj-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaj-team/subscriptions","organizations_url":"https://api.github.com/users/akaj-team/orgs","repos_url":"https://api.github.com/users/akaj-team/repos","events_url":"https://api.github.com/users/akaj-team/events{/privacy}","received_events_url":"https://api.github.com/users/akaj-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akaj-team/selenium-test","description":null,"fork":false,"url":"https://api.github.com/repos/akaj-team/selenium-test","forks_url":"https://api.github.com/repos/akaj-team/selenium-test/forks","keys_url":"https://api.github.com/repos/akaj-team/selenium-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akaj-team/selenium-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akaj-team/selenium-test/teams","hooks_url":"https://api.github.com/repos/akaj-team/selenium-test/hooks","issue_events_url":"https://api.github.com/repos/akaj-team/selenium-test/issues/events{/number}","events_url":"https://api.github.com/repos/akaj-team/selenium-test/events","assignees_url":"https://api.github.com/repos/akaj-team/selenium-test/assignees{/user}","branches_url":"https://api.github.com/repos/akaj-team/selenium-test/branches{/branch}","tags_url":"https://api.github.com/repos/akaj-team/selenium-test/tags","blobs_url":"https://api.github.com/repos/akaj-team/selenium-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akaj-team/selenium-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akaj-team/selenium-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/akaj-team/selenium-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akaj-team/selenium-test/statuses/{sha}","languages_url":"https://api.github.com/repos/akaj-team/selenium-test/languages","stargazers_url":"https://api.github.com/repos/akaj-team/selenium-test/stargazers","contributors_url":"https://api.github.com/repos/akaj-team/selenium-test/contributors","subscribers_url":"https://api.github.com/repos/akaj-team/selenium-test/subscribers","subscription_url":"https://api.github.com/repos/akaj-team/selenium-test/subscription","commits_url":"https://api.github.com/repos/akaj-team/selenium-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/akaj-team/selenium-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/akaj-team/selenium-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/akaj-team/selenium-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/akaj-team/selenium-test/contents/{+path}","compare_url":"https://api.github.com/repos/akaj-team/selenium-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akaj-team/selenium-test/merges","archive_url":"https://api.github.com/repos/akaj-team/selenium-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akaj-team/selenium-test/downloads","issues_url":"https://api.github.com/repos/akaj-team/selenium-test/issues{/number}","pulls_url":"https://api.github.com/repos/akaj-team/selenium-test/pulls{/number}","milestones_url":"https://api.github.com/repos/akaj-team/selenium-test/milestones{/number}","notifications_url":"https://api.github.com/repos/akaj-team/selenium-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akaj-team/selenium-test/labels{/name}","releases_url":"https://api.github.com/repos/akaj-team/selenium-test/releases{/id}","deployments_url":"https://api.github.com/repos/akaj-team/selenium-test/deployments","created_at":"2018-08-24T09:20:58Z","updated_at":"2018-09-11T12:52:18Z","pushed_at":"2018-09-12T15:36:42Z","git_url":"git://github.com/akaj-team/selenium-test.git","ssh_url":"git@github.com:akaj-team/selenium-test.git","clone_url":"https://github.com/akaj-team/selenium-test.git","svn_url":"https://github.com/akaj-team/selenium-test","homepage":null,"size":108,"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":"akaj-team:master","ref":"master","sha":"7e665fdbef4e0903d26bc3820f3fe7d991f0bceb","user":{"login":"akaj-team","id":33055357,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMDU1MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/33055357?v=4","gravatar_id":"","url":"https://api.github.com/users/akaj-team","html_url":"https://github.com/akaj-team","followers_url":"https://api.github.com/users/akaj-team/followers","following_url":"https://api.github.com/users/akaj-team/following{/other_user}","gists_url":"https://api.github.com/users/akaj-team/gists{/gist_id}","starred_url":"https://api.github.com/users/akaj-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaj-team/subscriptions","organizations_url":"https://api.github.com/users/akaj-team/orgs","repos_url":"https://api.github.com/users/akaj-team/repos","events_url":"https://api.github.com/users/akaj-team/events{/privacy}","received_events_url":"https://api.github.com/users/akaj-team/received_events","type":"Organization","site_admin":false},"repo":{"id":145970870,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU5NzA4NzA=","name":"selenium-test","full_name":"akaj-team/selenium-test","owner":{"login":"akaj-team","id":33055357,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMDU1MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/33055357?v=4","gravatar_id":"","url":"https://api.github.com/users/akaj-team","html_url":"https://github.com/akaj-team","followers_url":"https://api.github.com/users/akaj-team/followers","following_url":"https://api.github.com/users/akaj-team/following{/other_user}","gists_url":"https://api.github.com/users/akaj-team/gists{/gist_id}","starred_url":"https://api.github.com/users/akaj-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaj-team/subscriptions","organizations_url":"https://api.github.com/users/akaj-team/orgs","repos_url":"https://api.github.com/users/akaj-team/repos","events_url":"https://api.github.com/users/akaj-team/events{/privacy}","received_events_url":"https://api.github.com/users/akaj-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akaj-team/selenium-test","description":null,"fork":false,"url":"https://api.github.com/repos/akaj-team/selenium-test","forks_url":"https://api.github.com/repos/akaj-team/selenium-test/forks","keys_url":"https://api.github.com/repos/akaj-team/selenium-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akaj-team/selenium-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akaj-team/selenium-test/teams","hooks_url":"https://api.github.com/repos/akaj-team/selenium-test/hooks","issue_events_url":"https://api.github.com/repos/akaj-team/selenium-test/issues/events{/number}","events_url":"https://api.github.com/repos/akaj-team/selenium-test/events","assignees_url":"https://api.github.com/repos/akaj-team/selenium-test/assignees{/user}","branches_url":"https://api.github.com/repos/akaj-team/selenium-test/branches{/branch}","tags_url":"https://api.github.com/repos/akaj-team/selenium-test/tags","blobs_url":"https://api.github.com/repos/akaj-team/selenium-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akaj-team/selenium-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akaj-team/selenium-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/akaj-team/selenium-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akaj-team/selenium-test/statuses/{sha}","languages_url":"https://api.github.com/repos/akaj-team/selenium-test/languages","stargazers_url":"https://api.github.com/repos/akaj-team/selenium-test/stargazers","contributors_url":"https://api.github.com/repos/akaj-team/selenium-test/contributors","subscribers_url":"https://api.github.com/repos/akaj-team/selenium-test/subscribers","subscription_url":"https://api.github.com/repos/akaj-team/selenium-test/subscription","commits_url":"https://api.github.com/repos/akaj-team/selenium-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/akaj-team/selenium-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/akaj-team/selenium-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/akaj-team/selenium-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/akaj-team/selenium-test/contents/{+path}","compare_url":"https://api.github.com/repos/akaj-team/selenium-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akaj-team/selenium-test/merges","archive_url":"https://api.github.com/repos/akaj-team/selenium-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akaj-team/selenium-test/downloads","issues_url":"https://api.github.com/repos/akaj-team/selenium-test/issues{/number}","pulls_url":"https://api.github.com/repos/akaj-team/selenium-test/pulls{/number}","milestones_url":"https://api.github.com/repos/akaj-team/selenium-test/milestones{/number}","notifications_url":"https://api.github.com/repos/akaj-team/selenium-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akaj-team/selenium-test/labels{/name}","releases_url":"https://api.github.com/repos/akaj-team/selenium-test/releases{/id}","deployments_url":"https://api.github.com/repos/akaj-team/selenium-test/deployments","created_at":"2018-08-24T09:20:58Z","updated_at":"2018-09-11T12:52:18Z","pushed_at":"2018-09-12T15:36:42Z","git_url":"git://github.com/akaj-team/selenium-test.git","ssh_url":"git@github.com:akaj-team/selenium-test.git","clone_url":"https://github.com/akaj-team/selenium-test.git","svn_url":"https://github.com/akaj-team/selenium-test","homepage":null,"size":108,"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/akaj-team/selenium-test/pulls/8"},"html":{"href":"https://github.com/akaj-team/selenium-test/pull/8"},"issue":{"href":"https://api.github.com/repos/akaj-team/selenium-test/issues/8"},"comments":{"href":"https://api.github.com/repos/akaj-team/selenium-test/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/akaj-team/selenium-test/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/akaj-team/selenium-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akaj-team/selenium-test/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/akaj-team/selenium-test/statuses/984da69e267be8a18923010d6d112d59099b9d50"}},"author_association":"NONE"}}
{"actor":{"display_login":"at-vinhhuynh"}}