{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/69335825","id":69335825,"diff_hunk":"@@ -119,3 +143,79 @@ def _test_page_load_time_for_cached_session(self):\n         self.assertLessEqual(\n             self.page_metrics.get_average_page_load_time_millisecs(),\n             self.load_time_limit_cached_ms)\n+\n+    def _get_driver(self):\n+        return self.data_fetcher.setup_driver()\n+\n+    def _check_login(self, driver):\n+        driver.get(self.BASE_URL)\n+        time.sleep(5)\n+        resulting_url = driver.current_url\n+\n+        if resulting_url == self.BASE_URL + self.SPLASH_URL_SUFFIX:\n+            return False\n+\n+        return True\n+\n+    def _login_user(self, driver):\n+        driver.get(\n+            self.BASE_URL + self.LOGIN_URL_SUFFIX + self.CONTINUE_URL_SUFFIX)\n+        elem = driver.find_element_by_name(\"email\")\n+        elem.clear()\n+        elem.send_keys(self.EMAIL)\n+        driver.find_element_by_name('admin').click()\n+        driver.find_element_by_id('submit-login').click()\n+        time.sleep(5)","path":"core/tests/performance_tests/base.py","position":null,"original_position":104,"commit_id":"d95dbea24874da3f45e66b214e6c59664dd14889","original_commit_id":"1001526af22ee3b07d4274ef4fc18cc5f04d6cd5","user":{"login":"gvishal","id":1708579,"avatar_url":"https://avatars.githubusercontent.com/u/1708579?v=3","gravatar_id":"","url":"https://api.github.com/users/gvishal","html_url":"https://github.com/gvishal","followers_url":"https://api.github.com/users/gvishal/followers","following_url":"https://api.github.com/users/gvishal/following{/other_user}","gists_url":"https://api.github.com/users/gvishal/gists{/gist_id}","starred_url":"https://api.github.com/users/gvishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvishal/subscriptions","organizations_url":"https://api.github.com/users/gvishal/orgs","repos_url":"https://api.github.com/users/gvishal/repos","events_url":"https://api.github.com/users/gvishal/events{/privacy}","received_events_url":"https://api.github.com/users/gvishal/received_events","type":"User","site_admin":false},"body":"Max time, expecting the page to load.","created_at":"2016-07-01T18:03:01Z","updated_at":"2016-07-01T18:03:01Z","html_url":"https://github.com/oppia/oppia/pull/2167#discussion_r69335825","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/2167","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/69335825"},"html":{"href":"https://github.com/oppia/oppia/pull/2167#discussion_r69335825"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/2167"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/2167","id":75210278,"html_url":"https://github.com/oppia/oppia/pull/2167","diff_url":"https://github.com/oppia/oppia/pull/2167.diff","patch_url":"https://github.com/oppia/oppia/pull/2167.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/2167","number":2167,"state":"open","locked":false,"title":"#2048 add performance tests for various Oppia pages.","user":{"login":"gvishal","id":1708579,"avatar_url":"https://avatars.githubusercontent.com/u/1708579?v=3","gravatar_id":"","url":"https://api.github.com/users/gvishal","html_url":"https://github.com/gvishal","followers_url":"https://api.github.com/users/gvishal/followers","following_url":"https://api.github.com/users/gvishal/following{/other_user}","gists_url":"https://api.github.com/users/gvishal/gists{/gist_id}","starred_url":"https://api.github.com/users/gvishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvishal/subscriptions","organizations_url":"https://api.github.com/users/gvishal/orgs","repos_url":"https://api.github.com/users/gvishal/repos","events_url":"https://api.github.com/users/gvishal/events{/privacy}","received_events_url":"https://api.github.com/users/gvishal/received_events","type":"User","site_admin":false},"body":"#2048 add performance tests for various Oppia pages.","created_at":"2016-06-25T17:44:48Z","updated_at":"2016-07-01T18:03:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"491aaedb68030fcd59ab99d48a177628b51791c3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/2167/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/2167/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/2167/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/d95dbea24874da3f45e66b214e6c59664dd14889","head":{"label":"gvishal:perf-test-page-tests","ref":"perf-test-page-tests","sha":"d95dbea24874da3f45e66b214e6c59664dd14889","user":{"login":"gvishal","id":1708579,"avatar_url":"https://avatars.githubusercontent.com/u/1708579?v=3","gravatar_id":"","url":"https://api.github.com/users/gvishal","html_url":"https://github.com/gvishal","followers_url":"https://api.github.com/users/gvishal/followers","following_url":"https://api.github.com/users/gvishal/following{/other_user}","gists_url":"https://api.github.com/users/gvishal/gists{/gist_id}","starred_url":"https://api.github.com/users/gvishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvishal/subscriptions","organizations_url":"https://api.github.com/users/gvishal/orgs","repos_url":"https://api.github.com/users/gvishal/repos","events_url":"https://api.github.com/users/gvishal/events{/privacy}","received_events_url":"https://api.github.com/users/gvishal/received_events","type":"User","site_admin":false},"repo":{"id":52909507,"name":"oppia","full_name":"gvishal/oppia","owner":{"login":"gvishal","id":1708579,"avatar_url":"https://avatars.githubusercontent.com/u/1708579?v=3","gravatar_id":"","url":"https://api.github.com/users/gvishal","html_url":"https://github.com/gvishal","followers_url":"https://api.github.com/users/gvishal/followers","following_url":"https://api.github.com/users/gvishal/following{/other_user}","gists_url":"https://api.github.com/users/gvishal/gists{/gist_id}","starred_url":"https://api.github.com/users/gvishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvishal/subscriptions","organizations_url":"https://api.github.com/users/gvishal/orgs","repos_url":"https://api.github.com/users/gvishal/repos","events_url":"https://api.github.com/users/gvishal/events{/privacy}","received_events_url":"https://api.github.com/users/gvishal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gvishal/oppia","description":"Tool for collaboratively building intelligent tutors.","fork":true,"url":"https://api.github.com/repos/gvishal/oppia","forks_url":"https://api.github.com/repos/gvishal/oppia/forks","keys_url":"https://api.github.com/repos/gvishal/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gvishal/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gvishal/oppia/teams","hooks_url":"https://api.github.com/repos/gvishal/oppia/hooks","issue_events_url":"https://api.github.com/repos/gvishal/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/gvishal/oppia/events","assignees_url":"https://api.github.com/repos/gvishal/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/gvishal/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/gvishal/oppia/tags","blobs_url":"https://api.github.com/repos/gvishal/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gvishal/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gvishal/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/gvishal/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gvishal/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/gvishal/oppia/languages","stargazers_url":"https://api.github.com/repos/gvishal/oppia/stargazers","contributors_url":"https://api.github.com/repos/gvishal/oppia/contributors","subscribers_url":"https://api.github.com/repos/gvishal/oppia/subscribers","subscription_url":"https://api.github.com/repos/gvishal/oppia/subscription","commits_url":"https://api.github.com/repos/gvishal/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/gvishal/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/gvishal/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/gvishal/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/gvishal/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/gvishal/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gvishal/oppia/merges","archive_url":"https://api.github.com/repos/gvishal/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gvishal/oppia/downloads","issues_url":"https://api.github.com/repos/gvishal/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/gvishal/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/gvishal/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/gvishal/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gvishal/oppia/labels{/name}","releases_url":"https://api.github.com/repos/gvishal/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/gvishal/oppia/deployments","created_at":"2016-03-01T20:57:37Z","updated_at":"2016-03-01T20:57:41Z","pushed_at":"2016-07-01T17:58:08Z","git_url":"git://github.com/gvishal/oppia.git","ssh_url":"git@github.com:gvishal/oppia.git","clone_url":"https://github.com/gvishal/oppia.git","svn_url":"https://github.com/gvishal/oppia","homepage":"https://www.oppia.org","size":45824,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"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":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"576dee92a35422917a92929540ff891e5b0e337c","user":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"name":"oppia","full_name":"oppia/oppia","owner":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building interactive lessons.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2016-06-30T06:04:02Z","pushed_at":"2016-07-01T17:58:09Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":84184,"stargazers_count":139,"watchers_count":139,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":234,"mirror_url":null,"open_issues_count":356,"forks":234,"open_issues":356,"watchers":139,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/2167"},"html":{"href":"https://github.com/oppia/oppia/pull/2167"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/2167"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/2167/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/2167/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/2167/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/d95dbea24874da3f45e66b214e6c59664dd14889"}}}}
{"actor":{"display_login":"gvishal"}}