{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/bedrock/issues/3956","repository_url":"https://api.github.com/repos/mozilla/bedrock","labels_url":"https://api.github.com/repos/mozilla/bedrock/issues/3956/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/bedrock/issues/3956/comments","events_url":"https://api.github.com/repos/mozilla/bedrock/issues/3956/events","html_url":"https://github.com/mozilla/bedrock/pull/3956","id":139672148,"number":3956,"title":"Fix bug 1253413 - Foundation newsletter design/copy testing","user":{"login":"craigcook","id":205591,"avatar_url":"https://avatars.githubusercontent.com/u/205591?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcook","html_url":"https://github.com/craigcook","followers_url":"https://api.github.com/users/craigcook/followers","following_url":"https://api.github.com/users/craigcook/following{/other_user}","gists_url":"https://api.github.com/users/craigcook/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcook/subscriptions","organizations_url":"https://api.github.com/users/craigcook/orgs","repos_url":"https://api.github.com/users/craigcook/repos","events_url":"https://api.github.com/users/craigcook/events{/privacy}","received_events_url":"https://api.github.com/users/craigcook/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/bedrock/labels/Durable%20Team%20Sprint","name":"Durable Team Sprint","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-09T19:12:28Z","updated_at":"2016-03-10T12:58:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/bedrock/pulls/3956","html_url":"https://github.com/mozilla/bedrock/pull/3956","diff_url":"https://github.com/mozilla/bedrock/pull/3956.diff","patch_url":"https://github.com/mozilla/bedrock/pull/3956.patch"},"body":"## Description\r\nThis adds B variants of three pages to test design/copy of the Foundation newsletter signup form: home page, main about page, and the main legal page. We'll use Optimizely to redirect the pages to their B variants and use Google Analytics to track engagement.\r\n\r\nThis requires the following waffle switches:\r\n`mozorg-home-optimizely`\r\n`mozorg-about-optimizely`\r\n`legal-index-optimizely`\r\n\r\n## Bugzilla\r\nhttps://bugzilla.mozilla.org/show_bug.cgi?id=1253413\r\n\r\n## Testing\r\nVisiting one of these pages with the query param `?v=b` in the URL should show the B variant of that page. The A version of each page uses the currently standard form with the standard \"Get Mozilla updates\" headline while the B version shows the new design and copy. The home page and /about page already have forms so the A versions there are the current (control) versions and B is the new design. \r\n\r\nThis test is for English only and other locales should show no form on /about/legal and show the current Firefox form on the home page and /about (Foundation newsletter is only in English so other locales get Firefox). These are new strings but the test is being conducted only in English so they should not be extracted/exposed for l10n at this time.\r\n\r\n## Checklist\r\n- [ ] Requires l10n changes.\r\n- [x] Related functional & integration tests passing.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/bedrock/issues/comments/194831212","html_url":"https://github.com/mozilla/bedrock/pull/3956#issuecomment-194831212","issue_url":"https://api.github.com/repos/mozilla/bedrock/issues/3956","id":194831212,"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},"created_at":"2016-03-10T12:58:40Z","updated_at":"2016-03-10T12:58:40Z","body":"@schalkneethling - you can run the tests locally to find out.\r\n\r\nI would look here:\r\n\r\nhttps://github.com/mozilla/bedrock/blob/master/tests/functional/test_newsletter_embed.py\r\nhttps://github.com/mozilla/bedrock/blob/master/tests/functional/test_about.py\r\nhttps://github.com/mozilla/bedrock/blob/master/tests/functional/test_home.py"}}