{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments/52400868","id":52400868,"diff_hunk":"@@ -0,0 +1,68 @@\n+package com.wikia.webdriver.testcases.globalshortcuts;\n+\n+import com.wikia.webdriver.common.core.annotations.Execute;\n+import com.wikia.webdriver.common.core.annotations.InBrowser;\n+import com.wikia.webdriver.common.core.helpers.Browser;\n+import com.wikia.webdriver.common.core.helpers.User;\n+import com.wikia.webdriver.common.templates.NewTestTemplate;\n+import com.wikia.webdriver.elements.common.Navigate;\n+import com.wikia.webdriver.elements.oasis.components.globalshortcuts.KeyboardShortcutsModal;\n+import com.wikia.webdriver.elements.oasis.components.wikiabar.WikiaBar;\n+\n+import org.testng.annotations.Test;\n+\n+@Execute(onWikia = \"globalshortcuts-en\")\n+@InBrowser(browser = Browser.CHROME)\n+public class KeyboardShortcutsTest extends NewTestTemplate {\n+\n+  private KeyboardShortcutsModal keyboardShortcutsModal;\n+  private WikiaBar wikiaBar;\n+\n+  private void init() {\n+    this.keyboardShortcutsModal = new KeyboardShortcutsModal(driver);\n+    this.wikiaBar = new WikiaBar(driver);\n+\n+    new Navigate(driver).toPage(\"/wiki/Globalshortcuts-en_Wikia\");\n+  }\n+\n+  @Test()\n+  @Execute(asUser = User.USER)\n+  public void globalShortcuts_keyboardShortcuts_openModalByLinkInWikiaBar_CloseModalByCloseButton() {\n+    init();\n+\n+    wikiaBar.clickOnShortcutsLink();\n+    keyboardShortcutsModal.clickCloseButton();\n+  }\n+\n+  @Test()\n+  public void globalShortcuts_keyboardShortcuts_openAndCloseModalByShortcuts() {","path":"src/test/java/com/wikia/webdriver/testcases/globalshortcuts/KeyboardShortcutsTest.java","position":38,"original_position":38,"commit_id":"45e68bf214ffdcb9fa5eec01f2bd9c5498cdafb5","original_commit_id":"45e68bf214ffdcb9fa5eec01f2bd9c5498cdafb5","user":{"login":"WikiaTech","id":13279985,"avatar_url":"https://avatars.githubusercontent.com/u/13279985?v=3","gravatar_id":"","url":"https://api.github.com/users/WikiaTech","html_url":"https://github.com/WikiaTech","followers_url":"https://api.github.com/users/WikiaTech/followers","following_url":"https://api.github.com/users/WikiaTech/following{/other_user}","gists_url":"https://api.github.com/users/WikiaTech/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiaTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiaTech/subscriptions","organizations_url":"https://api.github.com/users/WikiaTech/orgs","repos_url":"https://api.github.com/users/WikiaTech/repos","events_url":"https://api.github.com/users/WikiaTech/events{/privacy}","received_events_url":"https://api.github.com/users/WikiaTech/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://sonar-s1/coding_rules#rule_key=squid%3AS00100)\n","created_at":"2016-02-10T00:52:45Z","updated_at":"2016-02-10T00:52:45Z","html_url":"https://github.com/Wikia/selenium-tests/pull/1003#discussion_r52400868","pull_request_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/1003","_links":{"self":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments/52400868"},"html":{"href":"https://github.com/Wikia/selenium-tests/pull/1003#discussion_r52400868"},"pull_request":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/1003"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/1003","id":57504665,"html_url":"https://github.com/Wikia/selenium-tests/pull/1003","diff_url":"https://github.com/Wikia/selenium-tests/pull/1003.diff","patch_url":"https://github.com/Wikia/selenium-tests/pull/1003.patch","issue_url":"https://api.github.com/repos/Wikia/selenium-tests/issues/1003","number":1003,"state":"open","locked":false,"title":"Add template classification tests","user":{"login":"azarek","id":15979264,"avatar_url":"https://avatars.githubusercontent.com/u/15979264?v=3","gravatar_id":"","url":"https://api.github.com/users/azarek","html_url":"https://github.com/azarek","followers_url":"https://api.github.com/users/azarek/followers","following_url":"https://api.github.com/users/azarek/following{/other_user}","gists_url":"https://api.github.com/users/azarek/gists{/gist_id}","starred_url":"https://api.github.com/users/azarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azarek/subscriptions","organizations_url":"https://api.github.com/users/azarek/orgs","repos_url":"https://api.github.com/users/azarek/repos","events_url":"https://api.github.com/users/azarek/events{/privacy}","received_events_url":"https://api.github.com/users/azarek/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-28T13:54:06Z","updated_at":"2016-02-10T00:52:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cd2827df59b4f9c46b21cecbf171e418847012d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/1003/commits","review_comments_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/1003/comments","review_comment_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/selenium-tests/issues/1003/comments","statuses_url":"https://api.github.com/repos/Wikia/selenium-tests/statuses/45e68bf214ffdcb9fa5eec01f2bd9c5498cdafb5","head":{"label":"Wikia:commeng-tests","ref":"commeng-tests","sha":"45e68bf214ffdcb9fa5eec01f2bd9c5498cdafb5","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":6275065,"name":"selenium-tests","full_name":"Wikia/selenium-tests","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/selenium-tests","description":"","fork":false,"url":"https://api.github.com/repos/Wikia/selenium-tests","forks_url":"https://api.github.com/repos/Wikia/selenium-tests/forks","keys_url":"https://api.github.com/repos/Wikia/selenium-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/selenium-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/selenium-tests/teams","hooks_url":"https://api.github.com/repos/Wikia/selenium-tests/hooks","issue_events_url":"https://api.github.com/repos/Wikia/selenium-tests/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/selenium-tests/events","assignees_url":"https://api.github.com/repos/Wikia/selenium-tests/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/selenium-tests/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/selenium-tests/tags","blobs_url":"https://api.github.com/repos/Wikia/selenium-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/selenium-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/selenium-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/selenium-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/selenium-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/selenium-tests/languages","stargazers_url":"https://api.github.com/repos/Wikia/selenium-tests/stargazers","contributors_url":"https://api.github.com/repos/Wikia/selenium-tests/contributors","subscribers_url":"https://api.github.com/repos/Wikia/selenium-tests/subscribers","subscription_url":"https://api.github.com/repos/Wikia/selenium-tests/subscription","commits_url":"https://api.github.com/repos/Wikia/selenium-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/selenium-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/selenium-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/selenium-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/selenium-tests/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/selenium-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/selenium-tests/merges","archive_url":"https://api.github.com/repos/Wikia/selenium-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/selenium-tests/downloads","issues_url":"https://api.github.com/repos/Wikia/selenium-tests/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/selenium-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/selenium-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/selenium-tests/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/selenium-tests/releases{/id}","deployments_url":"https://api.github.com/repos/Wikia/selenium-tests/deployments","created_at":"2012-10-18T08:06:11Z","updated_at":"2016-02-09T08:52:44Z","pushed_at":"2016-02-10T00:51:28Z","git_url":"git://github.com/Wikia/selenium-tests.git","ssh_url":"git@github.com:Wikia/selenium-tests.git","clone_url":"https://github.com/Wikia/selenium-tests.git","svn_url":"https://github.com/Wikia/selenium-tests","homepage":null,"size":126906,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":11,"default_branch":"master"}},"base":{"label":"Wikia:master","ref":"master","sha":"52fe8dbda2df3afc6f0be2ed9dea51e0b838752a","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":6275065,"name":"selenium-tests","full_name":"Wikia/selenium-tests","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/selenium-tests","description":"","fork":false,"url":"https://api.github.com/repos/Wikia/selenium-tests","forks_url":"https://api.github.com/repos/Wikia/selenium-tests/forks","keys_url":"https://api.github.com/repos/Wikia/selenium-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/selenium-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/selenium-tests/teams","hooks_url":"https://api.github.com/repos/Wikia/selenium-tests/hooks","issue_events_url":"https://api.github.com/repos/Wikia/selenium-tests/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/selenium-tests/events","assignees_url":"https://api.github.com/repos/Wikia/selenium-tests/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/selenium-tests/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/selenium-tests/tags","blobs_url":"https://api.github.com/repos/Wikia/selenium-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/selenium-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/selenium-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/selenium-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/selenium-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/selenium-tests/languages","stargazers_url":"https://api.github.com/repos/Wikia/selenium-tests/stargazers","contributors_url":"https://api.github.com/repos/Wikia/selenium-tests/contributors","subscribers_url":"https://api.github.com/repos/Wikia/selenium-tests/subscribers","subscription_url":"https://api.github.com/repos/Wikia/selenium-tests/subscription","commits_url":"https://api.github.com/repos/Wikia/selenium-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/selenium-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/selenium-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/selenium-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/selenium-tests/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/selenium-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/selenium-tests/merges","archive_url":"https://api.github.com/repos/Wikia/selenium-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/selenium-tests/downloads","issues_url":"https://api.github.com/repos/Wikia/selenium-tests/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/selenium-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/selenium-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/selenium-tests/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/selenium-tests/releases{/id}","deployments_url":"https://api.github.com/repos/Wikia/selenium-tests/deployments","created_at":"2012-10-18T08:06:11Z","updated_at":"2016-02-09T08:52:44Z","pushed_at":"2016-02-10T00:51:28Z","git_url":"git://github.com/Wikia/selenium-tests.git","ssh_url":"git@github.com:Wikia/selenium-tests.git","clone_url":"https://github.com/Wikia/selenium-tests.git","svn_url":"https://github.com/Wikia/selenium-tests","homepage":null,"size":126906,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/1003"},"html":{"href":"https://github.com/Wikia/selenium-tests/pull/1003"},"issue":{"href":"https://api.github.com/repos/Wikia/selenium-tests/issues/1003"},"comments":{"href":"https://api.github.com/repos/Wikia/selenium-tests/issues/1003/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/1003/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/1003/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/selenium-tests/statuses/45e68bf214ffdcb9fa5eec01f2bd9c5498cdafb5"}}}}