{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments/41148268","id":41148268,"diff_hunk":"@@ -0,0 +1,28 @@\n+package com.wikia.webdriver.pageobjectsfactory.componentobject.mercury;\n+\n+import com.wikia.webdriver.common.enums.Mercury;\n+import com.wikia.webdriver.pageobjectsfactory.pageobject.mercury.BasePageObject;\n+\n+import org.openqa.selenium.WebDriver;\n+import org.openqa.selenium.WebElement;\n+import org.openqa.selenium.support.FindBy;\n+\n+/**\n+ * @ownership Content X-Wing Wikia\n+ */\n+public class MercuryAlertComponentObject extends BasePageObject {\n+\n+  @FindBy(css = \".alert-notifications .alert-box\")\n+  protected WebElement alertBox;\n+\n+  private String alertMessage;\n+\n+  public MercuryAlertComponentObject(WebDriver driver, Mercury.AlertMessage message) {","path":"src/test/java/com/wikia/webdriver/pageobjectsfactory/componentobject/mercury/MercuryAlertComponentObject.java","position":20,"original_position":20,"commit_id":"712b47e6ee1e4d7ba728e117ffe7b16ab3352a3c","original_commit_id":"712b47e6ee1e4d7ba728e117ffe7b16ab3352a3c","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":"you don't need to call static method like that `Mercury.AlertMessage message`","created_at":"2015-10-05T14:16:34Z","updated_at":"2015-10-05T14:16:34Z","html_url":"https://github.com/Wikia/selenium-tests/pull/888#discussion_r41148268","pull_request_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/888","_links":{"self":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments/41148268"},"html":{"href":"https://github.com/Wikia/selenium-tests/pull/888#discussion_r41148268"},"pull_request":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/888"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/888","id":46545482,"html_url":"https://github.com/Wikia/selenium-tests/pull/888","diff_url":"https://github.com/Wikia/selenium-tests/pull/888.diff","patch_url":"https://github.com/Wikia/selenium-tests/pull/888.patch","issue_url":"https://api.github.com/repos/Wikia/selenium-tests/issues/888","number":888,"state":"open","locked":false,"title":"Xw 229","user":{"login":"justnpT","id":1735454,"avatar_url":"https://avatars.githubusercontent.com/u/1735454?v=3","gravatar_id":"","url":"https://api.github.com/users/justnpT","html_url":"https://github.com/justnpT","followers_url":"https://api.github.com/users/justnpT/followers","following_url":"https://api.github.com/users/justnpT/following{/other_user}","gists_url":"https://api.github.com/users/justnpT/gists{/gist_id}","starred_url":"https://api.github.com/users/justnpT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justnpT/subscriptions","organizations_url":"https://api.github.com/users/justnpT/orgs","repos_url":"https://api.github.com/users/justnpT/repos","events_url":"https://api.github.com/users/justnpT/events{/privacy}","received_events_url":"https://api.github.com/users/justnpT/received_events","type":"User","site_admin":false},"body":"feature ticket https://wikia-inc.atlassian.net/browse/XW-229\r\n\r\nTest case 1\r\nPages redirectSource1 redirectDestination1 exist\r\nrediretSource1 is a redirect to redirectDestination1\r\n1. user goes to redirectSource1\r\n2. user gets redirected to redirectDestination1\r\n\r\nTest case 2\r\nPage redirectSource2 exists, redirectDestination2 doesn't exist\r\nrediretSource2 is a redirect to redirectDestination2\r\n1. user goes to redirectSource2\r\n2. user is not redirected to empty page\r\n3. user gets notified that the redirect destination page doesn't exist","created_at":"2015-10-01T16:24:08Z","updated_at":"2015-10-05T14:16:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3c12dca3d63227cb0ea61c4a5c699843f2b5906","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/888/commits","review_comments_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/888/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/888/comments","statuses_url":"https://api.github.com/repos/Wikia/selenium-tests/statuses/712b47e6ee1e4d7ba728e117ffe7b16ab3352a3c","head":{"label":"Wikia:XW-229","ref":"XW-229","sha":"712b47e6ee1e4d7ba728e117ffe7b16ab3352a3c","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-08-24T15:10:13Z","pushed_at":"2015-10-05T13:39:45Z","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":126102,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":7,"forks":11,"open_issues":7,"watchers":8,"default_branch":"master"}},"base":{"label":"Wikia:master","ref":"master","sha":"c36fb9147a4435ffe5122fc55fd369f285b10ce2","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-08-24T15:10:13Z","pushed_at":"2015-10-05T13:39:45Z","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":126102,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":7,"forks":11,"open_issues":7,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/888"},"html":{"href":"https://github.com/Wikia/selenium-tests/pull/888"},"issue":{"href":"https://api.github.com/repos/Wikia/selenium-tests/issues/888"},"comments":{"href":"https://api.github.com/repos/Wikia/selenium-tests/issues/888/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/888/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/888/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/selenium-tests/statuses/712b47e6ee1e4d7ba728e117ffe7b16ab3352a3c"}}}}