{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/bedrock/pulls/comments/41487893","id":41487893,"diff_hunk":"@@ -0,0 +1,38 @@\n+# This Source Code Form is subject to the terms of the Mozilla Public\n+# License, v. 2.0. If a copy of the MPL was not distributed with this\n+# file, You can obtain one at http://mozilla.org/MPL/2.0/.\n+\n+import pytest\n+from selenium.common.exceptions import TimeoutException\n+\n+from ..pages.newsletter import NewsletterPage\n+\n+\n+@pytest.mark.nondestructive\n+def test_default_values(base_url, selenium):\n+    page = NewsletterPage(base_url, selenium).open()\n+    assert '' == page.email\n+    assert 'United States' == page.country\n+    assert 'English' == page.language\n+    assert page.html_format_selected\n+    assert not page.text_format_selected\n+    assert not page.privacy_policy_accepted\n+\n+\n+@pytest.mark.nondestructive","path":"tests/functional/test_newsletter.py","position":22,"original_position":22,"commit_id":"19e481701569f8fa01ad249efd205e74ef1467de","original_commit_id":"034b919a7cd14312ffd91f146e3775c089581cd2","user":{"login":"alexgibson","id":400117,"avatar_url":"https://avatars.githubusercontent.com/u/400117?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgibson","html_url":"https://github.com/alexgibson","followers_url":"https://api.github.com/users/alexgibson/followers","following_url":"https://api.github.com/users/alexgibson/following{/other_user}","gists_url":"https://api.github.com/users/alexgibson/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgibson/subscriptions","organizations_url":"https://api.github.com/users/alexgibson/orgs","repos_url":"https://api.github.com/users/alexgibson/repos","events_url":"https://api.github.com/users/alexgibson/events{/privacy}","received_events_url":"https://api.github.com/users/alexgibson/received_events","type":"User","site_admin":false},"body":"Yes I think it makes sense to mark this as destructive :+1: ","created_at":"2015-10-08T08:31:14Z","updated_at":"2015-10-08T08:31:14Z","html_url":"https://github.com/mozilla/bedrock/pull/3409#discussion_r41487893","pull_request_url":"https://api.github.com/repos/mozilla/bedrock/pulls/3409","_links":{"self":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/comments/41487893"},"html":{"href":"https://github.com/mozilla/bedrock/pull/3409#discussion_r41487893"},"pull_request":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/3409"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/bedrock/pulls/3409","id":47012999,"html_url":"https://github.com/mozilla/bedrock/pull/3409","diff_url":"https://github.com/mozilla/bedrock/pull/3409.diff","patch_url":"https://github.com/mozilla/bedrock/pull/3409.patch","issue_url":"https://api.github.com/repos/mozilla/bedrock/issues/3409","number":3409,"state":"open","locked":false,"title":"Create initial functional tests using pytest","user":{"login":"davehunt","id":122800,"avatar_url":"https://avatars.githubusercontent.com/u/122800?v=3","gravatar_id":"","url":"https://api.github.com/users/davehunt","html_url":"https://github.com/davehunt","followers_url":"https://api.github.com/users/davehunt/followers","following_url":"https://api.github.com/users/davehunt/following{/other_user}","gists_url":"https://api.github.com/users/davehunt/gists{/gist_id}","starred_url":"https://api.github.com/users/davehunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehunt/subscriptions","organizations_url":"https://api.github.com/users/davehunt/orgs","repos_url":"https://api.github.com/users/davehunt/repos","events_url":"https://api.github.com/users/davehunt/events{/privacy}","received_events_url":"https://api.github.com/users/davehunt/received_events","type":"User","site_admin":false},"body":"This is the first step in replacing the CasperJS tests with pytest tests. Once this has landed we'll work our way through the CasperJS tests and either migrate them to this stack or remove them. We'll then do the same with the mcom-tests.\r\n\r\nFeedback would be appreciated from @bobsilverberg, @alexgibson, @pmclanahan and @jgmize. The plan is to run these in Web QA's Jenkins instance in addition to the mcom-tests, but I'd like to also get these running in the new Jenkins pipeline, which @glogiotatidis may be able to help with.","created_at":"2015-10-07T10:58:24Z","updated_at":"2015-10-08T08:31:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"732c24eee4d2ecee5bd60828323006663797bcf4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/bedrock/pulls/3409/commits","review_comments_url":"https://api.github.com/repos/mozilla/bedrock/pulls/3409/comments","review_comment_url":"https://api.github.com/repos/mozilla/bedrock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/bedrock/issues/3409/comments","statuses_url":"https://api.github.com/repos/mozilla/bedrock/statuses/19e481701569f8fa01ad249efd205e74ef1467de","head":{"label":"davehunt:pytest-functional","ref":"pytest-functional","sha":"19e481701569f8fa01ad249efd205e74ef1467de","user":{"login":"davehunt","id":122800,"avatar_url":"https://avatars.githubusercontent.com/u/122800?v=3","gravatar_id":"","url":"https://api.github.com/users/davehunt","html_url":"https://github.com/davehunt","followers_url":"https://api.github.com/users/davehunt/followers","following_url":"https://api.github.com/users/davehunt/following{/other_user}","gists_url":"https://api.github.com/users/davehunt/gists{/gist_id}","starred_url":"https://api.github.com/users/davehunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehunt/subscriptions","organizations_url":"https://api.github.com/users/davehunt/orgs","repos_url":"https://api.github.com/users/davehunt/repos","events_url":"https://api.github.com/users/davehunt/events{/privacy}","received_events_url":"https://api.github.com/users/davehunt/received_events","type":"User","site_admin":false},"repo":{"id":43441559,"name":"bedrock","full_name":"davehunt/bedrock","owner":{"login":"davehunt","id":122800,"avatar_url":"https://avatars.githubusercontent.com/u/122800?v=3","gravatar_id":"","url":"https://api.github.com/users/davehunt","html_url":"https://github.com/davehunt","followers_url":"https://api.github.com/users/davehunt/followers","following_url":"https://api.github.com/users/davehunt/following{/other_user}","gists_url":"https://api.github.com/users/davehunt/gists{/gist_id}","starred_url":"https://api.github.com/users/davehunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehunt/subscriptions","organizations_url":"https://api.github.com/users/davehunt/orgs","repos_url":"https://api.github.com/users/davehunt/repos","events_url":"https://api.github.com/users/davehunt/events{/privacy}","received_events_url":"https://api.github.com/users/davehunt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davehunt/bedrock","description":"Making mozilla.org awesome, one pebble at a time","fork":true,"url":"https://api.github.com/repos/davehunt/bedrock","forks_url":"https://api.github.com/repos/davehunt/bedrock/forks","keys_url":"https://api.github.com/repos/davehunt/bedrock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davehunt/bedrock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davehunt/bedrock/teams","hooks_url":"https://api.github.com/repos/davehunt/bedrock/hooks","issue_events_url":"https://api.github.com/repos/davehunt/bedrock/issues/events{/number}","events_url":"https://api.github.com/repos/davehunt/bedrock/events","assignees_url":"https://api.github.com/repos/davehunt/bedrock/assignees{/user}","branches_url":"https://api.github.com/repos/davehunt/bedrock/branches{/branch}","tags_url":"https://api.github.com/repos/davehunt/bedrock/tags","blobs_url":"https://api.github.com/repos/davehunt/bedrock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davehunt/bedrock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davehunt/bedrock/git/refs{/sha}","trees_url":"https://api.github.com/repos/davehunt/bedrock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davehunt/bedrock/statuses/{sha}","languages_url":"https://api.github.com/repos/davehunt/bedrock/languages","stargazers_url":"https://api.github.com/repos/davehunt/bedrock/stargazers","contributors_url":"https://api.github.com/repos/davehunt/bedrock/contributors","subscribers_url":"https://api.github.com/repos/davehunt/bedrock/subscribers","subscription_url":"https://api.github.com/repos/davehunt/bedrock/subscription","commits_url":"https://api.github.com/repos/davehunt/bedrock/commits{/sha}","git_commits_url":"https://api.github.com/repos/davehunt/bedrock/git/commits{/sha}","comments_url":"https://api.github.com/repos/davehunt/bedrock/comments{/number}","issue_comment_url":"https://api.github.com/repos/davehunt/bedrock/issues/comments{/number}","contents_url":"https://api.github.com/repos/davehunt/bedrock/contents/{+path}","compare_url":"https://api.github.com/repos/davehunt/bedrock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davehunt/bedrock/merges","archive_url":"https://api.github.com/repos/davehunt/bedrock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davehunt/bedrock/downloads","issues_url":"https://api.github.com/repos/davehunt/bedrock/issues{/number}","pulls_url":"https://api.github.com/repos/davehunt/bedrock/pulls{/number}","milestones_url":"https://api.github.com/repos/davehunt/bedrock/milestones{/number}","notifications_url":"https://api.github.com/repos/davehunt/bedrock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davehunt/bedrock/labels{/name}","releases_url":"https://api.github.com/repos/davehunt/bedrock/releases{/id}","created_at":"2015-09-30T15:37:30Z","updated_at":"2015-09-30T15:37:49Z","pushed_at":"2015-10-07T22:50:23Z","git_url":"git://github.com/davehunt/bedrock.git","ssh_url":"git@github.com:davehunt/bedrock.git","clone_url":"https://github.com/davehunt/bedrock.git","svn_url":"https://github.com/davehunt/bedrock","homepage":"https://www.mozilla.org","size":345395,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"mozilla:master","ref":"master","sha":"7d1d934dd94d9946fc6ce20f461e5c207edb3ab8","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1616665,"name":"bedrock","full_name":"mozilla/bedrock","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/bedrock","description":"Making mozilla.org awesome, one pebble at a time","fork":false,"url":"https://api.github.com/repos/mozilla/bedrock","forks_url":"https://api.github.com/repos/mozilla/bedrock/forks","keys_url":"https://api.github.com/repos/mozilla/bedrock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/bedrock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/bedrock/teams","hooks_url":"https://api.github.com/repos/mozilla/bedrock/hooks","issue_events_url":"https://api.github.com/repos/mozilla/bedrock/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/bedrock/events","assignees_url":"https://api.github.com/repos/mozilla/bedrock/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/bedrock/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/bedrock/tags","blobs_url":"https://api.github.com/repos/mozilla/bedrock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/bedrock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/bedrock/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/bedrock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/bedrock/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/bedrock/languages","stargazers_url":"https://api.github.com/repos/mozilla/bedrock/stargazers","contributors_url":"https://api.github.com/repos/mozilla/bedrock/contributors","subscribers_url":"https://api.github.com/repos/mozilla/bedrock/subscribers","subscription_url":"https://api.github.com/repos/mozilla/bedrock/subscription","commits_url":"https://api.github.com/repos/mozilla/bedrock/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/bedrock/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/bedrock/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/bedrock/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/bedrock/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/bedrock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/bedrock/merges","archive_url":"https://api.github.com/repos/mozilla/bedrock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/bedrock/downloads","issues_url":"https://api.github.com/repos/mozilla/bedrock/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/bedrock/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/bedrock/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/bedrock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/bedrock/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/bedrock/releases{/id}","created_at":"2011-04-14T22:57:57Z","updated_at":"2015-09-25T16:55:38Z","pushed_at":"2015-10-07T22:50:24Z","git_url":"git://github.com/mozilla/bedrock.git","ssh_url":"git@github.com:mozilla/bedrock.git","clone_url":"https://github.com/mozilla/bedrock.git","svn_url":"https://github.com/mozilla/bedrock","homepage":"https://www.mozilla.org","size":386963,"stargazers_count":255,"watchers_count":255,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":360,"mirror_url":null,"open_issues_count":28,"forks":360,"open_issues":28,"watchers":255,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/3409"},"html":{"href":"https://github.com/mozilla/bedrock/pull/3409"},"issue":{"href":"https://api.github.com/repos/mozilla/bedrock/issues/3409"},"comments":{"href":"https://api.github.com/repos/mozilla/bedrock/issues/3409/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/3409/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/3409/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/bedrock/statuses/19e481701569f8fa01ad249efd205e74ef1467de"}}}}