{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments/48024346","id":48024346,"diff_hunk":"@@ -3,29 +3,26 @@\n import com.wikia.webdriver.common.contentpatterns.MercurySubpages;\n import com.wikia.webdriver.common.contentpatterns.MercuryWikis;\n import com.wikia.webdriver.common.core.Assertion;\n+import com.wikia.webdriver.common.core.annotations.Browser;\n+import com.wikia.webdriver.common.core.annotations.Device;\n+import com.wikia.webdriver.common.core.annotations.Execute;\n import com.wikia.webdriver.common.core.annotations.RelatedIssue;\n import com.wikia.webdriver.common.logging.PageObjectLogging;\n import com.wikia.webdriver.common.templates.NewTestTemplate;\n import com.wikia.webdriver.pageobjectsfactory.componentobject.mercury.NavigationSideComponentObject;\n \n-import org.testng.annotations.BeforeMethod;\n import org.testng.annotations.Test;\n \n-import java.util.concurrent.TimeUnit;\n-\n-@Test(groups = {\"MercuryNavigationSideTests\", \"Mercury\"})\n+@Execute(\n+    onWikia = MercuryWikis.MERCURY_AUTOMATION_TESTING,\n+    onDevice = Device.GOOGLE_NEXUS_5,\n+    browser = Browser.CHROME\n+)\n public class NavigationSideTests extends NewTestTemplate {\n \n   private final static String SEARCH_PASS = \"Gallery\";\n   private final static String SEARCH_FAIL = \"te\";","path":"src/test/java/com/wikia/webdriver/testcases/mercurytests/NavigationSideTests.java","position":26,"original_position":26,"commit_id":"936b6341995d0145f366b6adda4a1da0495f36ab","original_commit_id":"936b6341995d0145f366b6adda4a1da0495f36ab","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":"![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) Reorder the modifiers to comply with the Java Language Specification. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AModifiersOrderCheck)\n","created_at":"2015-12-18T13:28:02Z","updated_at":"2015-12-18T13:28:02Z","html_url":"https://github.com/Wikia/selenium-tests/pull/965#discussion_r48024346","pull_request_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/965","_links":{"self":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments/48024346"},"html":{"href":"https://github.com/Wikia/selenium-tests/pull/965#discussion_r48024346"},"pull_request":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/965"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/965","id":54102194,"html_url":"https://github.com/Wikia/selenium-tests/pull/965","diff_url":"https://github.com/Wikia/selenium-tests/pull/965.diff","patch_url":"https://github.com/Wikia/selenium-tests/pull/965.patch","issue_url":"https://api.github.com/repos/Wikia/selenium-tests/issues/965","number":965,"state":"open","locked":false,"title":"XW-655 | use mobile emulation instead of user agent","user":{"login":"tomasznapieralski","id":10118538,"avatar_url":"https://avatars.githubusercontent.com/u/10118538?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasznapieralski","html_url":"https://github.com/tomasznapieralski","followers_url":"https://api.github.com/users/tomasznapieralski/followers","following_url":"https://api.github.com/users/tomasznapieralski/following{/other_user}","gists_url":"https://api.github.com/users/tomasznapieralski/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasznapieralski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasznapieralski/subscriptions","organizations_url":"https://api.github.com/users/tomasznapieralski/orgs","repos_url":"https://api.github.com/users/tomasznapieralski/repos","events_url":"https://api.github.com/users/tomasznapieralski/events{/privacy}","received_events_url":"https://api.github.com/users/tomasznapieralski/received_events","type":"User","site_admin":false},"body":"- [x] add `@Execute` annotation on classes\r\n- [x] add `onDevice` (mobile emulation) to `@Execute`\r\n- [x] remove `allowedDriver` from `@Execute`\r\n- [x] remove groups which are bigger than 1 in Mercury, such as `Mercury` group\r\n- [x] re-annotate Mercury tests\r\n- [ ] clean up code in Mercury\r\n- [ ] fix failing Mercury Tests\r\n- [ ] solve todos in Mercury tests\r\n- [ ] remove deep inheritance in MercuryBasePage\r\n- [ ] remove `noads` param from Mercury navigation methods","created_at":"2015-12-18T13:27:22Z","updated_at":"2015-12-18T13:28:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3915deace6febf3ab2197cc55e43a2bff1f696b6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/965/commits","review_comments_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/965/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/965/comments","statuses_url":"https://api.github.com/repos/Wikia/selenium-tests/statuses/936b6341995d0145f366b6adda4a1da0495f36ab","head":{"label":"Wikia:XW-655","ref":"XW-655","sha":"936b6341995d0145f366b6adda4a1da0495f36ab","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}","created_at":"2012-10-18T08:06:11Z","updated_at":"2015-12-07T06:53:20Z","pushed_at":"2015-12-18T13:27:23Z","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":113325,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":9,"default_branch":"master"}},"base":{"label":"Wikia:master","ref":"master","sha":"8e33afcd951d2cbf303da7310ea44c3c11e9b19a","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}","created_at":"2012-10-18T08:06:11Z","updated_at":"2015-12-07T06:53:20Z","pushed_at":"2015-12-18T13:27:23Z","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":113325,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/965"},"html":{"href":"https://github.com/Wikia/selenium-tests/pull/965"},"issue":{"href":"https://api.github.com/repos/Wikia/selenium-tests/issues/965"},"comments":{"href":"https://api.github.com/repos/Wikia/selenium-tests/issues/965/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/965/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/965/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/selenium-tests/statuses/936b6341995d0145f366b6adda4a1da0495f36ab"}}}}