{"action":"created","issue":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/664","labels_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/664/labels{/name}","comments_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/664/comments","events_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/664/events","html_url":"https://github.com/webcompat/webcompat.com/issues/664","id":99319987,"number":664,"title":"setUp / tearDown for login and logout on functional tests","user":{"login":"karlcow","id":505230,"avatar_url":"https://avatars.githubusercontent.com/u/505230?v=3","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T23:19:05Z","updated_at":"2015-08-06T16:37:01Z","closed_at":null,"body":"Should this part of the code be in a login feature or a setUp that we activate at least in any tests library we need. Right now, there is a dependency on having index.js for the rest of the tests to be working.\r\n\r\n```js\r\n    'my issues (when logged in)': function() {\r\n      return this.remote\r\n        .setFindTimeout(intern.config.wc.pageLoadTimeout)\r\n        .get(require.toUrl(url))\r\n        .findByCssSelector('.js-login-link').click()\r\n        .end()\r\n        .findByCssSelector('#login_field').click()\r\n        .type(intern.config.wc.user)\r\n        .end()\r\n        .findByCssSelector('#password').click()\r\n        .type(intern.config.wc.pw)\r\n        .end()\r\n        .findByCssSelector('input[type=submit]').submit()\r\n        .end()\r\n        .findByCssSelector('button').submit()\r\n        .end()\r\n```"},"comment":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/comments/128431185","html_url":"https://github.com/webcompat/webcompat.com/issues/664#issuecomment-128431185","issue_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/664","id":128431185,"user":{"login":"miketaylr","id":67283,"avatar_url":"https://avatars.githubusercontent.com/u/67283?v=3","gravatar_id":"","url":"https://api.github.com/users/miketaylr","html_url":"https://github.com/miketaylr","followers_url":"https://api.github.com/users/miketaylr/followers","following_url":"https://api.github.com/users/miketaylr/following{/other_user}","gists_url":"https://api.github.com/users/miketaylr/gists{/gist_id}","starred_url":"https://api.github.com/users/miketaylr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketaylr/subscriptions","organizations_url":"https://api.github.com/users/miketaylr/orgs","repos_url":"https://api.github.com/users/miketaylr/repos","events_url":"https://api.github.com/users/miketaylr/events{/privacy}","received_events_url":"https://api.github.com/users/miketaylr/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T16:37:01Z","updated_at":"2015-08-06T16:37:01Z","body":":+1:, seems good."}}