{"action":"created","comment":{"url":"https://api.github.com/repos/TEAMMATES/repo/pulls/comments/30868468","id":30868468,"diff_hunk":"@@ -195,85 +199,88 @@ public void clickVisibilityOptionForResponseCommentAndSave(String idString, int\n         commentEditForm.findElement(By.className(\"col-sm-offset-5\")).findElement(By.tagName(\"a\")).click();\n         ThreadHelper.waitFor(1000);\n     }\n-    \n-    public boolean verifyAllResultsPanelBodyVisibility(boolean visible){\n+\n+    public boolean verifyAllResultsPanelBodyVisibility(boolean visible) {\n         int numOfQns = browser.driver.findElements(By.cssSelector(\".panel-heading+.panel-collapse\")).size();\n         assertTrue(numOfQns > 0);\n-        \n+\n         // Wait for the total duration according to the number of collapse/expand intervals between questions\n         ThreadHelper.waitFor((numOfQns * 50) + 1000);\n-        \n-        for(WebElement e : browser.driver.findElements(By.cssSelector(\".panel-heading+.panel-collapse\"))){\n-            if(e.isDisplayed() != visible){\n+\n+        for (WebElement e : browser.driver.findElements(By.cssSelector(\".panel-heading+.panel-collapse\"))) {\n+            if (e.isDisplayed() != visible) {\n                 return false;\n             }\n         }\n         return true;\n     }\n-    \n-    public boolean verifyAllStatsVisibility(){\n-        for(WebElement e : browser.driver.findElements(By.className(\"resultStatistics\"))){\n-            if(e.getCssValue(\"display\").equals(\"none\")){\n+\n+    public boolean verifyAllStatsVisibility() {\n+        for (WebElement e : browser.driver.findElements(By.className(\"resultStatistics\"))) {\n+            if (e.getCssValue(\"display\").equals(\"none\")) {\n                 return false;\n             }\n         }\n         return true;\n     }\n-    \n+\n     public void deleteFeedbackResponseComment(String commentIdSuffix) {\n         WebElement commentRow = browser.driver.findElement(By.id(\"responseCommentRow\" + commentIdSuffix));\n-        commentRow.findElement(By.tagName(\"form\"))\n-            .findElement(By.tagName(\"a\")).click();\n+        commentRow.findElement(By.tagName(\"form\")).findElement(By.tagName(\"a\")).click();\n         ThreadHelper.waitFor(1500);\n     }\n-    \n-    public void verifyCommentRowContent(String commentRowIdSuffix, String commentText, String giverName) {\n+\n+    public void verifyCommentRowContent(String commentRowIdSuffix,\n+                                        String commentText, String giverName) {\n         WebDriverWait wait = new WebDriverWait(browser.driver, 30);\n         WebElement commentRow;\n-        try{\n-            commentRow = wait.until(ExpectedConditions.presenceOfElementLocated(By.id(\"responseCommentRow\" + commentRowIdSuffix)));\n-        } catch (TimeoutException e){\n+        try {\n+            commentRow = wait.until(ExpectedConditions.presenceOfElementLocated(By.id(\"responseCommentRow\"\n+                                                                                      + commentRowIdSuffix)));","path":"src/test/java/teammates/test/pageobjects/InstructorFeedbackResultsPage.java","position":260,"original_position":263,"commit_id":"da780727ac6ade0242aad671937ad00f62b4caba","original_commit_id":"5de5694ff4f5ffadb423f5b4989be27bee9b6328","user":{"login":"damithc","id":1673303,"avatar_url":"https://avatars.githubusercontent.com/u/1673303?v=3","gravatar_id":"","url":"https://api.github.com/users/damithc","html_url":"https://github.com/damithc","followers_url":"https://api.github.com/users/damithc/followers","following_url":"https://api.github.com/users/damithc/following{/other_user}","gists_url":"https://api.github.com/users/damithc/gists{/gist_id}","starred_url":"https://api.github.com/users/damithc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damithc/subscriptions","organizations_url":"https://api.github.com/users/damithc/orgs","repos_url":"https://api.github.com/users/damithc/repos","events_url":"https://api.github.com/users/damithc/events{/privacy}","received_events_url":"https://api.github.com/users/damithc/received_events","type":"User","site_admin":false},"body":"This is OK too. (The break is at a higher-level than before although the indentation doesn't follow any rule; when you break a deeply-nested element, it becomes harder to read).\r\n```\r\ncommentRow = wait.until(ExpectedConditions.presenceOfElementLocated(\r\n                                                 By.id(\"responseCommentRow\"+ commentRowIdSuffix)));\r\n```","created_at":"2015-05-22T04:11:34Z","updated_at":"2015-05-22T04:11:34Z","html_url":"https://github.com/TEAMMATES/repo/pull/3434#discussion_r30868468","pull_request_url":"https://api.github.com/repos/TEAMMATES/repo/pulls/3434","_links":{"self":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/comments/30868468"},"html":{"href":"https://github.com/TEAMMATES/repo/pull/3434#discussion_r30868468"},"pull_request":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/3434"}}},"pull_request":{"url":"https://api.github.com/repos/TEAMMATES/repo/pulls/3434","id":35697333,"html_url":"https://github.com/TEAMMATES/repo/pull/3434","diff_url":"https://github.com/TEAMMATES/repo/pull/3434.diff","patch_url":"https://github.com/TEAMMATES/repo/pull/3434.patch","issue_url":"https://api.github.com/repos/TEAMMATES/repo/issues/3434","number":3434,"state":"open","locked":false,"title":"Refine InstructorFeedbackResults slice #3433","user":{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars.githubusercontent.com/u/7261051?v=3","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false},"body":"Fixes #3433 \r\nSo far only the Java main files are done.","created_at":"2015-05-19T05:33:43Z","updated_at":"2015-05-22T04:11:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3410ffcb13ea7b849dd7ae6a5a887be82c2b560","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TEAMMATES/repo/pulls/3434/commits","review_comments_url":"https://api.github.com/repos/TEAMMATES/repo/pulls/3434/comments","review_comment_url":"https://api.github.com/repos/TEAMMATES/repo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TEAMMATES/repo/issues/3434/comments","statuses_url":"https://api.github.com/repos/TEAMMATES/repo/statuses/da780727ac6ade0242aad671937ad00f62b4caba","head":{"label":"wkurniawan07:Issue3433","ref":"Issue3433","sha":"da780727ac6ade0242aad671937ad00f62b4caba","user":{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars.githubusercontent.com/u/7261051?v=3","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false},"repo":{"id":32029982,"name":"repo","full_name":"wkurniawan07/repo","owner":{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars.githubusercontent.com/u/7261051?v=3","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wkurniawan07/repo","description":"This is the project website for the TEAMMATES feedback management tool for education","fork":true,"url":"https://api.github.com/repos/wkurniawan07/repo","forks_url":"https://api.github.com/repos/wkurniawan07/repo/forks","keys_url":"https://api.github.com/repos/wkurniawan07/repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wkurniawan07/repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wkurniawan07/repo/teams","hooks_url":"https://api.github.com/repos/wkurniawan07/repo/hooks","issue_events_url":"https://api.github.com/repos/wkurniawan07/repo/issues/events{/number}","events_url":"https://api.github.com/repos/wkurniawan07/repo/events","assignees_url":"https://api.github.com/repos/wkurniawan07/repo/assignees{/user}","branches_url":"https://api.github.com/repos/wkurniawan07/repo/branches{/branch}","tags_url":"https://api.github.com/repos/wkurniawan07/repo/tags","blobs_url":"https://api.github.com/repos/wkurniawan07/repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wkurniawan07/repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wkurniawan07/repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/wkurniawan07/repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wkurniawan07/repo/statuses/{sha}","languages_url":"https://api.github.com/repos/wkurniawan07/repo/languages","stargazers_url":"https://api.github.com/repos/wkurniawan07/repo/stargazers","contributors_url":"https://api.github.com/repos/wkurniawan07/repo/contributors","subscribers_url":"https://api.github.com/repos/wkurniawan07/repo/subscribers","subscription_url":"https://api.github.com/repos/wkurniawan07/repo/subscription","commits_url":"https://api.github.com/repos/wkurniawan07/repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/wkurniawan07/repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/wkurniawan07/repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/wkurniawan07/repo/issues/comments{/number}","contents_url":"https://api.github.com/repos/wkurniawan07/repo/contents/{+path}","compare_url":"https://api.github.com/repos/wkurniawan07/repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wkurniawan07/repo/merges","archive_url":"https://api.github.com/repos/wkurniawan07/repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wkurniawan07/repo/downloads","issues_url":"https://api.github.com/repos/wkurniawan07/repo/issues{/number}","pulls_url":"https://api.github.com/repos/wkurniawan07/repo/pulls{/number}","milestones_url":"https://api.github.com/repos/wkurniawan07/repo/milestones{/number}","notifications_url":"https://api.github.com/repos/wkurniawan07/repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wkurniawan07/repo/labels{/name}","releases_url":"https://api.github.com/repos/wkurniawan07/repo/releases{/id}","created_at":"2015-03-11T17:00:24Z","updated_at":"2015-04-24T08:01:07Z","pushed_at":"2015-05-22T03:54:37Z","git_url":"git://github.com/wkurniawan07/repo.git","ssh_url":"git@github.com:wkurniawan07/repo.git","clone_url":"https://github.com/wkurniawan07/repo.git","svn_url":"https://github.com/wkurniawan07/repo","homepage":"http://teammatesv4.appspot.com/","size":118096,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TEAMMATES:master","ref":"master","sha":"bc729fef1dd1227a378dcb444b974f1a218b4e53","user":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"repo":{"id":19369035,"name":"repo","full_name":"TEAMMATES/repo","owner":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TEAMMATES/repo","description":"This is the project website for the TEAMMATES feedback management tool for education","fork":false,"url":"https://api.github.com/repos/TEAMMATES/repo","forks_url":"https://api.github.com/repos/TEAMMATES/repo/forks","keys_url":"https://api.github.com/repos/TEAMMATES/repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TEAMMATES/repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TEAMMATES/repo/teams","hooks_url":"https://api.github.com/repos/TEAMMATES/repo/hooks","issue_events_url":"https://api.github.com/repos/TEAMMATES/repo/issues/events{/number}","events_url":"https://api.github.com/repos/TEAMMATES/repo/events","assignees_url":"https://api.github.com/repos/TEAMMATES/repo/assignees{/user}","branches_url":"https://api.github.com/repos/TEAMMATES/repo/branches{/branch}","tags_url":"https://api.github.com/repos/TEAMMATES/repo/tags","blobs_url":"https://api.github.com/repos/TEAMMATES/repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TEAMMATES/repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TEAMMATES/repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/TEAMMATES/repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TEAMMATES/repo/statuses/{sha}","languages_url":"https://api.github.com/repos/TEAMMATES/repo/languages","stargazers_url":"https://api.github.com/repos/TEAMMATES/repo/stargazers","contributors_url":"https://api.github.com/repos/TEAMMATES/repo/contributors","subscribers_url":"https://api.github.com/repos/TEAMMATES/repo/subscribers","subscription_url":"https://api.github.com/repos/TEAMMATES/repo/subscription","commits_url":"https://api.github.com/repos/TEAMMATES/repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/TEAMMATES/repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/TEAMMATES/repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/TEAMMATES/repo/issues/comments{/number}","contents_url":"https://api.github.com/repos/TEAMMATES/repo/contents/{+path}","compare_url":"https://api.github.com/repos/TEAMMATES/repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TEAMMATES/repo/merges","archive_url":"https://api.github.com/repos/TEAMMATES/repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TEAMMATES/repo/downloads","issues_url":"https://api.github.com/repos/TEAMMATES/repo/issues{/number}","pulls_url":"https://api.github.com/repos/TEAMMATES/repo/pulls{/number}","milestones_url":"https://api.github.com/repos/TEAMMATES/repo/milestones{/number}","notifications_url":"https://api.github.com/repos/TEAMMATES/repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TEAMMATES/repo/labels{/name}","releases_url":"https://api.github.com/repos/TEAMMATES/repo/releases{/id}","created_at":"2014-05-02T07:43:00Z","updated_at":"2015-05-21T18:54:02Z","pushed_at":"2015-05-22T03:55:57Z","git_url":"git://github.com/TEAMMATES/repo.git","ssh_url":"git@github.com:TEAMMATES/repo.git","clone_url":"https://github.com/TEAMMATES/repo.git","svn_url":"https://github.com/TEAMMATES/repo","homepage":"http://teammatesv4.appspot.com/","size":146516,"stargazers_count":43,"watchers_count":43,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"open_issues_count":376,"forks":122,"open_issues":376,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/3434"},"html":{"href":"https://github.com/TEAMMATES/repo/pull/3434"},"issue":{"href":"https://api.github.com/repos/TEAMMATES/repo/issues/3434"},"comments":{"href":"https://api.github.com/repos/TEAMMATES/repo/issues/3434/comments"},"review_comments":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/3434/comments"},"review_comment":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/3434/commits"},"statuses":{"href":"https://api.github.com/repos/TEAMMATES/repo/statuses/da780727ac6ade0242aad671937ad00f62b4caba"}}}}