{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/comments/26928993","id":26928993,"diff_hunk":"@@ -0,0 +1,15 @@\n+package com.gu.identity.integration.test.pages\n+\n+import org.openqa.selenium.support.ui.{ExpectedConditions, WebDriverWait}\n+import org.openqa.selenium.{By, WebDriver, WebElement}\n+\n+class PasswordResetSentPage(implicit driver: WebDriver) extends ContainerWithSigninModulePage {\n+  private def message: WebElement = {\n+    driver.findElement(By.cssSelector(\".identity-title\"))\n+  }\n+\n+ def getMessagText(): String = {","path":"identity-tests/src/main/scala/com/gu/identity/integration/test/pages/PasswordResetSentPage.scala","position":11,"original_position":11,"commit_id":"a97bef5a0f40e2e5b32e1474193c442d9353fd77","original_commit_id":"a97bef5a0f40e2e5b32e1474193c442d9353fd77","user":{"login":"jamesoram","id":1517761,"avatar_url":"https://avatars.githubusercontent.com/u/1517761?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesoram","html_url":"https://github.com/jamesoram","followers_url":"https://api.github.com/users/jamesoram/followers","following_url":"https://api.github.com/users/jamesoram/following{/other_user}","gists_url":"https://api.github.com/users/jamesoram/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesoram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesoram/subscriptions","organizations_url":"https://api.github.com/users/jamesoram/orgs","repos_url":"https://api.github.com/users/jamesoram/repos","events_url":"https://api.github.com/users/jamesoram/events{/privacy}","received_events_url":"https://api.github.com/users/jamesoram/received_events","type":"User","site_admin":false},"body":"'e' still missing :)","created_at":"2015-03-23T11:31:58Z","updated_at":"2015-03-23T11:31:58Z","html_url":"https://github.com/guardian/identity-functional-tests/pull/5#discussion_r26928993","pull_request_url":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/comments/26928993"},"html":{"href":"https://github.com/guardian/identity-functional-tests/pull/5#discussion_r26928993"},"pull_request":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/5","id":31723364,"html_url":"https://github.com/guardian/identity-functional-tests/pull/5","diff_url":"https://github.com/guardian/identity-functional-tests/pull/5.diff","patch_url":"https://github.com/guardian/identity-functional-tests/pull/5.patch","issue_url":"https://api.github.com/repos/guardian/identity-functional-tests/issues/5","number":5,"state":"open","locked":false,"title":"Verify password reset feature by page text instead of waiting for e-mail","user":{"login":"nlindblad","id":164991,"avatar_url":"https://avatars.githubusercontent.com/u/164991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlindblad","html_url":"https://github.com/nlindblad","followers_url":"https://api.github.com/users/nlindblad/followers","following_url":"https://api.github.com/users/nlindblad/following{/other_user}","gists_url":"https://api.github.com/users/nlindblad/gists{/gist_id}","starred_url":"https://api.github.com/users/nlindblad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlindblad/subscriptions","organizations_url":"https://api.github.com/users/nlindblad/orgs","repos_url":"https://api.github.com/users/nlindblad/repos","events_url":"https://api.github.com/users/nlindblad/events{/privacy}","received_events_url":"https://api.github.com/users/nlindblad/received_events","type":"User","site_admin":false},"body":"The old way of waiting for the e-mail to arrive by polling via IMAP is flaky. With this change, the test will be less \"end to end\", but it is worth simplifying the test and get rid of the noise it causes.\r\n\r\nThe test will now just check that it gets sent to the correct page and that it has the correct message text after requesting the password reset e-mail.","created_at":"2015-03-23T11:23:08Z","updated_at":"2015-03-23T11:31:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21b49e764042293bca0ef570f97cbb00dd5d6282","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/5/commits","review_comments_url":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/5/comments","review_comment_url":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/identity-functional-tests/issues/5/comments","statuses_url":"https://api.github.com/repos/guardian/identity-functional-tests/statuses/a97bef5a0f40e2e5b32e1474193c442d9353fd77","head":{"label":"guardian:fix-password-reset-test","ref":"fix-password-reset-test","sha":"a97bef5a0f40e2e5b32e1474193c442d9353fd77","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":32387502,"name":"identity-functional-tests","full_name":"guardian/identity-functional-tests","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/identity-functional-tests","description":"","fork":true,"url":"https://api.github.com/repos/guardian/identity-functional-tests","forks_url":"https://api.github.com/repos/guardian/identity-functional-tests/forks","keys_url":"https://api.github.com/repos/guardian/identity-functional-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/identity-functional-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/identity-functional-tests/teams","hooks_url":"https://api.github.com/repos/guardian/identity-functional-tests/hooks","issue_events_url":"https://api.github.com/repos/guardian/identity-functional-tests/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/identity-functional-tests/events","assignees_url":"https://api.github.com/repos/guardian/identity-functional-tests/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/identity-functional-tests/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/identity-functional-tests/tags","blobs_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/identity-functional-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/identity-functional-tests/languages","stargazers_url":"https://api.github.com/repos/guardian/identity-functional-tests/stargazers","contributors_url":"https://api.github.com/repos/guardian/identity-functional-tests/contributors","subscribers_url":"https://api.github.com/repos/guardian/identity-functional-tests/subscribers","subscription_url":"https://api.github.com/repos/guardian/identity-functional-tests/subscription","commits_url":"https://api.github.com/repos/guardian/identity-functional-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/identity-functional-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/identity-functional-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/identity-functional-tests/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/identity-functional-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/identity-functional-tests/merges","archive_url":"https://api.github.com/repos/guardian/identity-functional-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/identity-functional-tests/downloads","issues_url":"https://api.github.com/repos/guardian/identity-functional-tests/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/identity-functional-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/identity-functional-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/identity-functional-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/identity-functional-tests/labels{/name}","releases_url":"https://api.github.com/repos/guardian/identity-functional-tests/releases{/id}","created_at":"2015-03-17T10:42:34Z","updated_at":"2015-03-23T10:32:13Z","pushed_at":"2015-03-23T11:30:09Z","git_url":"git://github.com/guardian/identity-functional-tests.git","ssh_url":"git@github.com:guardian/identity-functional-tests.git","clone_url":"https://github.com/guardian/identity-functional-tests.git","svn_url":"https://github.com/guardian/identity-functional-tests","homepage":null,"size":301,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"9dd3f7b616711456a6a8c39c43366c91bda97e33","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":32387502,"name":"identity-functional-tests","full_name":"guardian/identity-functional-tests","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/identity-functional-tests","description":"","fork":true,"url":"https://api.github.com/repos/guardian/identity-functional-tests","forks_url":"https://api.github.com/repos/guardian/identity-functional-tests/forks","keys_url":"https://api.github.com/repos/guardian/identity-functional-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/identity-functional-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/identity-functional-tests/teams","hooks_url":"https://api.github.com/repos/guardian/identity-functional-tests/hooks","issue_events_url":"https://api.github.com/repos/guardian/identity-functional-tests/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/identity-functional-tests/events","assignees_url":"https://api.github.com/repos/guardian/identity-functional-tests/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/identity-functional-tests/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/identity-functional-tests/tags","blobs_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/identity-functional-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/identity-functional-tests/languages","stargazers_url":"https://api.github.com/repos/guardian/identity-functional-tests/stargazers","contributors_url":"https://api.github.com/repos/guardian/identity-functional-tests/contributors","subscribers_url":"https://api.github.com/repos/guardian/identity-functional-tests/subscribers","subscription_url":"https://api.github.com/repos/guardian/identity-functional-tests/subscription","commits_url":"https://api.github.com/repos/guardian/identity-functional-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/identity-functional-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/identity-functional-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/identity-functional-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/identity-functional-tests/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/identity-functional-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/identity-functional-tests/merges","archive_url":"https://api.github.com/repos/guardian/identity-functional-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/identity-functional-tests/downloads","issues_url":"https://api.github.com/repos/guardian/identity-functional-tests/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/identity-functional-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/identity-functional-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/identity-functional-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/identity-functional-tests/labels{/name}","releases_url":"https://api.github.com/repos/guardian/identity-functional-tests/releases{/id}","created_at":"2015-03-17T10:42:34Z","updated_at":"2015-03-23T10:32:13Z","pushed_at":"2015-03-23T11:30:09Z","git_url":"git://github.com/guardian/identity-functional-tests.git","ssh_url":"git@github.com:guardian/identity-functional-tests.git","clone_url":"https://github.com/guardian/identity-functional-tests.git","svn_url":"https://github.com/guardian/identity-functional-tests","homepage":null,"size":301,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/5"},"html":{"href":"https://github.com/guardian/identity-functional-tests/pull/5"},"issue":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/issues/5"},"comments":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/identity-functional-tests/statuses/a97bef5a0f40e2e5b32e1474193c442d9353fd77"}}}}