GitHub PullRequestReviewCommentEvent at 2014-01-31 13:40:03
Repository: selenium-tests
Actor: bognix
Payload: {"comment":{"url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments/9342121","id":9342121,"diff_hunk":"@@ -0,0 +1,44 @@\n+package com.wikia.webdriver.PageObjectsFactory.PageObject.Special.GalleryBoxes;\n+\n+import java.util.List;\n+\n+import org.openqa.selenium.WebDriver;\n+import org.openqa.selenium.WebElement;\n+import org.openqa.selenium.support.FindBy;\n+\n+import com.wikia.webdriver.PageObjectsFactory.ComponentObject.Lightbox.LightboxComponentObject;\n+import com.wikia.webdriver.PageObjectsFactory.PageObject.WikiBasePageObject;\n+\n+/**\n+ * @author Karol 'kkarolk' Kujawiak\n+ *\n+ */\n+public class GalleryBox extends WikiBasePageObject {\n+\n+\t@FindBy(css = \".gallerybox a.image img.play\")\n+\tprivate List<WebElement> galleryVideoBox;\n+\t@FindBy(css = \".gallerybox a.image img:not(.play)\")\n+\tprivate List<WebElement> galleryImageBox;\n+\n+\t/**\n+\t * @param driver\n+\t */\n+\tpublic GalleryBox(WebDriver driver) {\n+\t\tsuper(driver);\n+\t}\n+\n+\tpublic LightboxComponentObject openLightboxForGridImage(int itemNumber) {\n+\t\tscrollAndClick(\n+\t\t\t\tgalleryImageBox.get(itemNumber)","path":"src/test/java/com/wikia/webdriver/PageObjectsFactory/PageObject/Special/GalleryBoxes/GalleryBox.java","position":32,"original_position":32,"commit_id":"e485ebed9bd76c35820e2b2e60c2f7b88142d117","original_commit_id":"e485ebed9bd76c35820e2b2e60c2f7b88142d117","user":{"login":"bognix","id":3473327,"avatar_url":"https://gravatar.com/avatar/87092a1902929127b8fe589a6b6c71db?d=https%3A%2F%2Fidenticons.github.com%2Fb880a6b8b6ccfd308d2ab48461bae54f.png&r=x","gravatar_id":"87092a1902929127b8fe589a6b6c71db","url":"https://api.github.com/users/bognix","html_url":"https://github.com/bognix","followers_url":"https://api.github.com/users/bognix/followers","following_url":"https://api.github.com/users/bognix/following{/other_user}","gists_url":"https://api.github.com/users/bognix/gists{/gist_id}","starred_url":"https://api.github.com/users/bognix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bognix/subscriptions","organizations_url":"https://api.github.com/users/bognix/orgs","repos_url":"https://api.github.com/users/bognix/repos","events_url":"https://api.github.com/users/bognix/events{/privacy}","received_events_url":"https://api.github.com/users/bognix/received_events","type":"User","site_admin":false},"body":"you can fit everything in one line - no need to break to three lines","created_at":"2014-01-31T13:40:03Z","updated_at":"2014-01-31T13:40:03Z","html_url":"https://github.com/Wikia/selenium-tests/pull/146#discussion_r9342121","pull_request_url":"https://api.github.com/repos/Wikia/selenium-tests/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/comments/9342121"},"html":{"href":"https://github.com/Wikia/selenium-tests/pull/146#discussion_r9342121"},"pull_request":{"href":"https://api.github.com/repos/Wikia/selenium-tests/pulls/146"}}}}