{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/comments/102441703","pull_request_review_id":23195664,"id":102441703,"diff_hunk":"@@ -14,3 +14,91 @@ class GradingPage(CoursePage):\n \n     def is_browser_on_page(self):\n         return self.q(css='body.grading').present\n+\n+    def letter_grade(self, selector):\n+        \"\"\"\n+        Returns: first letter of grade range on grading page\n+        Example: if there are no manually added grades it would\n+        return Pass, if a grade is added it will return 'A'\n+        \"\"\"\n+        return self.q(css=selector)[0].text\n+\n+    def click_new_grade_button(self):\n+        \"\"\"\n+        Clicks new grade button\n+        \"\"\"\n+        self.q(css='.new-grade-button').click()\n+        self.save_changes()\n+\n+    def click_remove_grade(self):\n+        \"\"\"\n+        Clicks remove grade button\n+        \"\"\"\n+        # Button displays after hovering on it\n+        btn_css = '.remove-button'\n+        self.browser.execute_script(\"$('{}').focus().click()\".format(btn_css))\n+        self.wait_for_ajax()\n+        self.save_changes()\n+\n+    def remove_all_grades(self):\n+        \"\"\"\n+        Removes all grades\n+        \"\"\"\n+        while len(self.q(css='.remove-button')) > 0:\n+            self.click_remove_grade()","path":"common/test/acceptance/pages/studio/settings_graders.py","position":48,"original_position":48,"commit_id":"964aa6b68e4bbf17385a570681794729c9f25f6f","original_commit_id":"964aa6b68e4bbf17385a570681794729c9f25f6f","user":{"login":"benpatterson","id":2004678,"avatar_url":"https://avatars.githubusercontent.com/u/2004678?v=3","gravatar_id":"","url":"https://api.github.com/users/benpatterson","html_url":"https://github.com/benpatterson","followers_url":"https://api.github.com/users/benpatterson/followers","following_url":"https://api.github.com/users/benpatterson/following{/other_user}","gists_url":"https://api.github.com/users/benpatterson/gists{/gist_id}","starred_url":"https://api.github.com/users/benpatterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benpatterson/subscriptions","organizations_url":"https://api.github.com/users/benpatterson/orgs","repos_url":"https://api.github.com/users/benpatterson/repos","events_url":"https://api.github.com/users/benpatterson/events{/privacy}","received_events_url":"https://api.github.com/users/benpatterson/received_events","type":"User","site_admin":false},"body":"Do you need a wait statement? Is there any other action on that page that you could wait for?","created_at":"2017-02-22T11:33:20Z","updated_at":"2017-02-22T11:34:47Z","html_url":"https://github.com/edx/edx-platform/pull/14558#discussion_r102441703","pull_request_url":"https://api.github.com/repos/edx/edx-platform/pulls/14558","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/comments/102441703"},"html":{"href":"https://github.com/edx/edx-platform/pull/14558#discussion_r102441703"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/14558"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/14558","id":107349421,"html_url":"https://github.com/edx/edx-platform/pull/14558","diff_url":"https://github.com/edx/edx-platform/pull/14558.diff","patch_url":"https://github.com/edx/edx-platform/pull/14558.patch","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/14558","number":14558,"state":"open","locked":false,"title":"Moving upgraded e2e page objects to platform","user":{"login":"raeeschachar","id":6028681,"avatar_url":"https://avatars.githubusercontent.com/u/6028681?v=3","gravatar_id":"","url":"https://api.github.com/users/raeeschachar","html_url":"https://github.com/raeeschachar","followers_url":"https://api.github.com/users/raeeschachar/followers","following_url":"https://api.github.com/users/raeeschachar/following{/other_user}","gists_url":"https://api.github.com/users/raeeschachar/gists{/gist_id}","starred_url":"https://api.github.com/users/raeeschachar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raeeschachar/subscriptions","organizations_url":"https://api.github.com/users/raeeschachar/orgs","repos_url":"https://api.github.com/users/raeeschachar/repos","events_url":"https://api.github.com/users/raeeschachar/events{/privacy}","received_events_url":"https://api.github.com/users/raeeschachar/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-22T07:27:18Z","updated_at":"2017-02-22T11:34:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ea5f6886108cfcf5563eb02b80c5be8ab3f5db3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-platform/pulls/14558/commits","review_comments_url":"https://api.github.com/repos/edx/edx-platform/pulls/14558/comments","review_comment_url":"https://api.github.com/repos/edx/edx-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/14558/comments","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/964aa6b68e4bbf17385a570681794729c9f25f6f","head":{"label":"edx:raees/LT54-page-object-to-platform_part1","ref":"raees/LT54-page-object-to-platform_part1","sha":"964aa6b68e4bbf17385a570681794729c9f25f6f","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":10391073,"name":"edx-platform","full_name":"edx/edx-platform","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-platform","description":"The Open edX platform, the software that powers edX!","fork":false,"url":"https://api.github.com/repos/edx/edx-platform","forks_url":"https://api.github.com/repos/edx/edx-platform/forks","keys_url":"https://api.github.com/repos/edx/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-platform/teams","hooks_url":"https://api.github.com/repos/edx/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-platform/events","assignees_url":"https://api.github.com/repos/edx/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-platform/tags","blobs_url":"https://api.github.com/repos/edx/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-platform/languages","stargazers_url":"https://api.github.com/repos/edx/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-platform/subscription","commits_url":"https://api.github.com/repos/edx/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-platform/merges","archive_url":"https://api.github.com/repos/edx/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-platform/downloads","issues_url":"https://api.github.com/repos/edx/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-platform/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-platform/deployments","created_at":"2013-05-30T20:20:38Z","updated_at":"2017-02-22T02:45:17Z","pushed_at":"2017-02-22T11:29:17Z","git_url":"git://github.com/edx/edx-platform.git","ssh_url":"git@github.com:edx/edx-platform.git","clone_url":"https://github.com/edx/edx-platform.git","svn_url":"https://github.com/edx/edx-platform","homepage":"http://open.edx.org/","size":783296,"stargazers_count":3010,"watchers_count":3010,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1761,"mirror_url":null,"open_issues_count":157,"forks":1761,"open_issues":157,"watchers":3010,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"f62b66022cf366e5a1c0abab062d883c3e09c08a","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":10391073,"name":"edx-platform","full_name":"edx/edx-platform","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-platform","description":"The Open edX platform, the software that powers edX!","fork":false,"url":"https://api.github.com/repos/edx/edx-platform","forks_url":"https://api.github.com/repos/edx/edx-platform/forks","keys_url":"https://api.github.com/repos/edx/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-platform/teams","hooks_url":"https://api.github.com/repos/edx/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-platform/events","assignees_url":"https://api.github.com/repos/edx/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-platform/tags","blobs_url":"https://api.github.com/repos/edx/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-platform/languages","stargazers_url":"https://api.github.com/repos/edx/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-platform/subscription","commits_url":"https://api.github.com/repos/edx/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-platform/merges","archive_url":"https://api.github.com/repos/edx/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-platform/downloads","issues_url":"https://api.github.com/repos/edx/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-platform/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-platform/deployments","created_at":"2013-05-30T20:20:38Z","updated_at":"2017-02-22T02:45:17Z","pushed_at":"2017-02-22T11:29:17Z","git_url":"git://github.com/edx/edx-platform.git","ssh_url":"git@github.com:edx/edx-platform.git","clone_url":"https://github.com/edx/edx-platform.git","svn_url":"https://github.com/edx/edx-platform","homepage":"http://open.edx.org/","size":783296,"stargazers_count":3010,"watchers_count":3010,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1761,"mirror_url":null,"open_issues_count":157,"forks":1761,"open_issues":157,"watchers":3010,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/14558"},"html":{"href":"https://github.com/edx/edx-platform/pull/14558"},"issue":{"href":"https://api.github.com/repos/edx/edx-platform/issues/14558"},"comments":{"href":"https://api.github.com/repos/edx/edx-platform/issues/14558/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/14558/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/14558/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-platform/statuses/964aa6b68e4bbf17385a570681794729c9f25f6f"}}}}
{"actor":{"display_login":"benpatterson"}}